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 xml.etree.ElementTree as ET | |
import glob | |
import fnmatch | |
import os | |
import csv | |
SCAPEGOAT_VERSION = 'd9392e5072e3e408dd232e6fc799e0ac1640189b' | |
SPARK_VERSION = '4816c2ef5e04eb2dd70bed8b99882aa0b7fe7fd7' | |
SPARK_HOME = '/Users/joshrosen/Documents/spark/' |
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
/* 001 */ public Object generate(Object[] references) { | |
/* 002 */ return new GeneratedIteratorForCodegenStage1(references); | |
/* 003 */ } | |
/* 004 */ | |
/* 005 */ // codegenStageId=1 | |
/* 006 */ final class GeneratedIteratorForCodegenStage1 extends org.apache.spark.sql.execution.BufferedRowIterator { | |
/* 007 */ private Object[] references; | |
/* 008 */ private scala.collection.Iterator[] inputs; | |
/* 009 */ private boolean range_initRange_0; | |
/* 010 */ private long range_nextIndex_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
diff --git a/OpenHashMap$mcD$sp.class.asm b/OpenHashMap$mcD$sp.class.asm | |
index 3989e91..ea49dbb 100644 | |
--- a/OpenHashMap$mcD$sp.class.asm | |
+++ b/OpenHashMap$mcD$sp.class.asm | |
@@ -29,6 +29,54 @@ public class org/apache/spark/util/collection/OpenHashMap$mcD$sp extends org/apa | |
// access flags 0x1 | |
public D nullValue$mcD$sp | |
+ // access flags 0x1019 | |
+ public final static synthetic $anonfun$changeValue$3(Lorg/apache/spark/util/collection/OpenHashMap$mcD$sp;I)V |
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 timeAndRecordAllocations( | |
numWarmups: Int, | |
numTrials: Int | |
)(functionToBenchmark: => Unit): Unit = { | |
import java.lang.management.ManagementFactory | |
import com.sun.management.ThreadMXBean | |
val threadMxBean = ManagementFactory.getThreadMXBean.asInstanceOf[ThreadMXBean] | |
val threadId = Thread.currentThread.getId |
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
diff --git a/OpenHashMap.class.asm b/OpenHashMap.class.asm | |
index aa713d0..b684cf3 100644 | |
--- a/OpenHashMap.class.asm | |
+++ b/OpenHashMap.class.asm | |
@@ -1375,10 +1375,10 @@ | |
MAXSTACK = 1 | |
MAXLOCALS = 1 | |
- // access flags 0x1 | |
+ // access flags 0x2 |
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 struct | |
def is_mpeg2_l3_sync(header_int: int) -> bool: | |
""" | |
Returns True if the top 11 bits = 0x7FF (frame sync), | |
version_id == 2 (MPEG-2), and layer_index == 1 (Layer III). | |
""" | |
# Frame sync check | |
if ((header_int >> 21) & 0x7FF) != 0x7FF: | |
return False |
OlderNewer