This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NotSetIntGetterTest { | |
private int doNotSet; | |
public int getDoNotSet(){ | |
return doNotSet; | |
} | |
public static void main(String[] args) { | |
int result = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// javap -Xbatch \ | |
// -XX:-TieredCompilation \ | |
// -XX:+PrintCompilation \ | |
// Main \ | |
// 2> /dev/null | |
// 71 1 b java.lang.String::hashCode (55 bytes) | |
// 80 2 b java.lang.String::indexOf (70 bytes) | |
// 94 3 b sun.nio.cs.UTF_8$Encoder::encode (359 bytes) | |
// 98 4 b java.io.BufferedInputStream::getBufIfOpen (21 bytes) | |
// 99 5 s b java.io.BufferedInputStream::read (49 bytes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// # JMH1.10.1(released 13 days ago) | |
// # VM invoker:/Library/Java/JavaVirtualMachines/1.6.0_65-b14-462.jdk/Contents/Home/bin/java | |
// # VM options:-Didea.launcher.port=7536-Didea.launcher.bin.path=/Applications/IntelliJ-IDEA-14.app/Contents/bin-Dfile.encoding=UTF-8 | |
// # Warmup:1 iterations,1 s each | |
// # Measurement:5 iterations,1 s each | |
// # Timeout:10 min per iteration | |
// # Threads:1 thread,will synchronize iterations | |
// # Benchmark mode:Average time,time/op | |
// # Benchmark:com.xoom.api.client.l10n.FinalKeywordBenchmark.MainBenchmark.finalBenchmark | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
connect = require('gulp-connect'), | |
watch = require('gulp-watch'), | |
less = require('gulp-less'), | |
uglify = require('gulp-uglify'), | |
concat = require('gulp-concat'), | |
rename = require('gulp-rename'), | |
ngmin = require('gulp-ngmin'), | |
autoprefixer = require('gulp-autoprefixer'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { | |
var makeExpandableCountriesSelector = function (selector, def, aditional) { | |
// LOCAL CONSTANTS | |
var LESS_VALUE = 'less', | |
MORE_VALUE = 'more'; | |
// Our model | |
var countries = def, | |
more = true, | |
less = false; |