This file contains hidden or 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
    
  
  
    
  | Failures: | |
| 1) User#get_billing_accts | |
| Failure/Error: it { should have_at_least(1).items } | |
| expected at least 1 items, got 0 | |
| # ./spec/models/user_spec.rb:17:in `block (3 levels) in <top (required)>' | |
| 2) User#get_billing_accts should return FinancialTxnAccount objects | |
| Failure/Error: subject.first.class.should eql(FinancialTxnAccount) | |
  
    
      This file contains hidden or 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 get_info = function(list_id, callback) { | |
| // do something and callback with list_info for list_id; | |
| callback(null, list_info); | |
| }; | |
| var list = [1,2,3,4,5]; | |
| for(var i = 0; i < list.length; i++) { | |
| var list_id = list[i]; | |
| get_info(list_id, (function(binded_list_id) { | |
| return function (error, list_info) { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.700987] ruby invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0 | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.700994] ruby cpuset=/ mems_allowed=0 | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.700999] Pid: 32675, comm: ruby Not tainted 3.2.0-36-virtual #57-Ubuntu | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.701002] Call Trace: | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.701015] [<ffffffff810beb6d>] ? cpuset_print_task_mems_allowed+0x9d/0xb0 | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.701021] [<ffffffff811193c1>] dump_header+0x91/0xe0 | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.701025] [<ffffffff81119745>] oom_kill_process+0x85/0xb0 | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.701028] [<ffffffff81119aea>] out_of_memory+0xfa/0x220 | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.701033] [<ffffffff8111f4a3>] __alloc_pages_nodemask+0x8c3/0x8e0 | |
| May 20 22:39:58 ip-10-151-126-80 kernel: [4837345.701041] | 
  
    
      This file contains hidden or 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
    
  
  
    
  | import java.io.*; | |
| /** | |
| * Created by cbrodt on 5/12/14. | |
| */ | |
| public class Main { | |
| public static String openFileEncapsulated(String filename) { | |
| String everything = ""; | |
| try { | 
  
    
      This file contains hidden or 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
    
  
  
    
  | /** | |
| * Created by cbrodt on 5/12/14. | |
| */ | |
| public class ImaginaryJava { | |
| public static String ifJavaWerePerfect(String filename) { | |
| String everything = ""; | |
| BufferedReader br = new BufferedReader(new FileReader(filename)); | |
| //Some imaginary method that returns true if the file can be opened and has data | 
  
    
      This file contains hidden or 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
    
  
  
    
  | def testUnsafe(): Unit ={ | |
| var offset = 0l | |
| val byteArray = new Array[Byte](88) | |
| val aOffset = UnsafeMemory.unsafe.arrayBaseOffset(classOf[Array[Byte]]) | |
| var pos = 0 | |
| println(pos + aOffset) | |
| UnsafeMemory.unsafe.putDouble(byteArray,pos + aOffset,32.51d) | |
| pos += 8 | 
  
    
      This file contains hidden or 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
    
  
  
    
  | 2015/11/19 16:15:17 Initializing Imagemagick | |
| PID/THRD SYSCALL(args) = return | |
| 12905/0xa45914: thread_selfid(0x0, 0x0, 0x0) = 10770708 0 | |
| 12905/0xa45914: open(".\0", 0x0, 0x1) = 3 0 | |
| 12905/0xa45914: fstat64(0x3, 0x7FFF5FBFE6A0, 0x1) = 0 0 | |
| 12905/0xa45914: fcntl(0x3, 0x32, 0x7FFF5FBFE950) = 0 0 | |
| 12905/0xa45914: close(0x3) = 0 0 | |
| 12905/0xa45914: stat64("/Users/cbrodt/Projects/signal_deadlock_example_go/src/github.com/uberbrodt/signal_deadlock_example\0", 0x7FFF5FBFE610, 0x7FFF5FBFE950) = 0 0 | |
| 12905/0xa45914: csops(0x0, 0x0, 0x7FFF5FBFE950) = 0 0 | |
| 12905/0xa45914: issetugid(0x0, 0x0, 0x7FFF5FBFE950) = 0 0 | 
  
    
      This file contains hidden or 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
    
  
  
    
  | package main | |
| import "time" | |
| //import "log" | |
| //import "reflect" | |
| import "github.com/traitify/common-go/unixtime" | |
| type Basicstruct struct { | |
| id int `db:"id"` | 
  
    
      This file contains hidden or 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
    
  
  
    
  | package net.uberbrodt; | |
| import java.util.*; | |
| public class SortedSetBadImpl { | |
| public static void main(String[] args) { | |
| SortedSetBadImpl.testBadComparable(); | |
| } | 
OlderNewer