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
diff --git a/qtwebkit/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp b/qtwebkit/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp | |
index 43246f4..bdbc2f1 100644 | |
--- a/qtwebkit/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp | |
+++ b/qtwebkit/Source/WebKit2/Platform/CoreIPC/ArgumentEncoder.cpp | |
@@ -61,17 +61,18 @@ PassOwnPtr<ArgumentEncoder> ArgumentEncoder::create() | |
} | |
ArgumentEncoder::ArgumentEncoder() | |
- : m_buffer(m_inlineBuffer) | |
- , m_bufferPointer(m_inlineBuffer) |
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
(gdb) bt | |
#0 0x451ffe1c in qt_memfill32 (dest=0x4b619000, value=4294967295, count=512) at painting/qdrawhelper_neon.cpp:68 | |
#1 0x450fb74c in qt_memfill<unsigned int> (dest=0x4b619000, color=4294967295, count=512) | |
at ../../include/QtGui/5.3.1/QtGui/private/../../../../../src/gui/painting/qdrawhelper_p.h:702 | |
#2 0x45106088 in blend_color_argb (count=1, spans=0xbedbc924, userData=0x95b30) at painting/qdrawhelper.cpp:4448 | |
#3 0x4515c9a0 in qt_span_fill_clipRect (count=256, spans=0xbedbc134, userData=0x95b30) | |
at painting/qpaintengine_raster.cpp:4075 | |
#4 0x451bd004 in QSpanBuffer::flushSpans (this=0xbedbc134) at painting/qrasterizer.cpp:113 | |
#5 0x451bcfa4 in QSpanBuffer::addSpan (this=0xbedbc134, x=0, len=512, y=255, coverage=255 '\377') | |
at painting/qrasterizer.cpp:107 |
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
#include <fcntl.h> | |
#include <sys/stat.h> | |
#include <sys/mman.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main() | |
{ | |
int fileDescriptor; |
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
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC | |
"-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<title>DocumentKeyTest</title> | |
<script> | |
function load(){ |
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
package org.xiaofuxing.name; | |
import org.apache.cordova.CordovaPlugin; | |
import org.apache.cordova.CallbackContext; | |
import org.json.JSONArray; | |
import org.json.JSONException; | |
import org.json.JSONObject; | |
import java.lang.Runnable; | |
import android.print.PrintJob; |
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
#!/usr/bin/env node | |
var fs = require('fs'); | |
var child_process = require('child_process'); | |
if( process.argv.length != 3 ){ | |
console.log("usage: " + process.argv[1] + " packagename"); | |
process.exit(1); | |
} |
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
#!usr/bin/env node | |
var jsdom = require('jsdom'); | |
function lists(window){ | |
var as = window.document.body.querySelectorAll("#topicListern a"); | |
as = Array.prototype.slice.call(as, 0); | |
// console.log(JSON.stringify(as)); | |
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
#*-- coding: utf-8 --* | |
import matplotlib | |
X_INCH = 7 | |
Y_INCH = 11 | |
X_MM = int(X_INCH*25.4) | |
Y_MM = int(Y_INCH*25.4) | |
while X_MM % 5 != 1: |
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
"use strict"; | |
var page = require('webpage').create(); | |
page.onConsoleMessage = function(msg) { | |
console.log(msg); | |
}; | |
/* | |
page.onUrlChanged = function (url){ | |
console.log(url); |
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 chnNumChar = { | |
零:0, | |
一:1, | |
二:2, | |
三:3, | |
四:4, | |
五:5, | |
六:6, | |
七:7, | |
八:8, |
OlderNewer