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
#!/bin/sh | |
EVS="sched_switch | |
sched_waking | |
sched_migrate_task | |
sched_process_free | |
sched_process_exit | |
sched_wait_task | |
sched_process_wait | |
sched_process_fork |
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
<h3 id="astarev_header"><a href="#">A* EV</a></h3> | |
<div id="astarev_section" class="finder_section"> | |
<header class="option_header"> | |
<h3>Heuristic</h3> | |
</header> | |
<div id="astarev_heuristic" class="sub_options"> | |
<input type="radio" name="astar_heuristic" value="manhattan" checked /> | |
<label class="option_label">Manhattan</label> <br> | |
<input type="radio" name="astar_heuristic" value="euclidean"/> | |
<label class="option_label">Euclidean</label> <br> |
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/include/engine/engine_config.hpp b/include/engine/engine_config.hpp | |
index eb62719..1696876 100644 | |
--- a/include/engine/engine_config.hpp | |
+++ b/include/engine/engine_config.hpp | |
@@ -28,7 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
#ifndef ENGINE_CONFIG_HPP | |
#define ENGINE_CONFIG_HPP | |
-#include "storage/storage_config.hpp" | |
+#include "../storage/storage_config.hpp" |
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
@Test | |
public void readBundleResource() throws IOException { | |
Bundle bundle = CTestPlugin.getDefault().getBundle(); | |
URL entry = bundle.getEntry("resources/elf/build.log"); | |
URL resource = bundle.getResource("resources/elf/build.log"); | |
System.out.println(entry); | |
System.out.println(resource); | |
try (InputStream s1 = entry.openStream()) { |
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
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 | |
!SESSION 2016-01-06 12:23:37.998 ----------------------------------------------- | |
eclipse.buildId=unknown | |
java.version=1.8.0_66-internal | |
java.vendor=Oracle Corporation | |
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA | |
Framework arguments: -version 3 -port 38628 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -test org.eclipse.cdt.core.model.tests.BinaryTests:testFoo -application org.eclipse.pde.junit.runtime.uitestapplication -product org.eclipse.sdk.ide -testpluginname org.eclipse.cdt.core.tests | |
Command-line arguments: -os linux -ws gtk -arch x86_64 -consoleLog -consolelog -version 3 -port 38628 -testLoaderClass org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader -loaderpluginname org.eclipse.jdt.junit4.runtime -test org.eclipse.cdt.core.model.tests.BinaryTests:testFoo -application org.eclipse.pde.junit.runtime.uitestapplicat |
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
{ | |
"linux": { | |
"sysname": "Linux", | |
"nodename": "berta", | |
"release": "4.2.0-18-generic", | |
"version": "#22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015", | |
"machine": "x86_64", | |
"domainname": "(none)" | |
}, | |
"lttng": { |
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
console.log("loading...") | |
var OSRM = require('osrm'); | |
var osrm = new OSRM("geofabrik/canada-latest.osrm"); | |
console.log("begin") | |
var coord = []; | |
coord.push([45.5370569, -73.5708777]); | |
coord.push([46.0243857, -73.439845]); |
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
#define __kernel | |
#define __global | |
void saxpy_cpu(float *y, | |
float *x, | |
float a, | |
int n) | |
{ | |
for (int i = 0; i < n; i++) { | |
y[i] = a * x[i] + y[i]; |
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
#!/usr/bin/env python3 | |
import os | |
import sys | |
import babeltrace.reader | |
import babeltrace.common | |
import pprint | |
import shutil | |
from os.path import join, dirname, abspath |
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
int do_syscall_read_long(void *args) | |
{ | |
FILE *f = args; | |
int i; | |
long val; | |
for (i = 0; i < (PAGE_SIZE / sizeof(val)); i++) { | |
val = 0; | |
int ret = read(f->_fileno, &val, sizeof(val)); |