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
Combine 1- and 2 byte operator decoding, add trace | |
With the implementation of the flex operator variations 2-byte operators | |
are now "mainstreamed". Realign the operator code decoding so as to | |
have just one switch+case clause for all operators. | |
Additionally, add a debug trace while decoding operators and operands. | |
This has been useful elsewhere when hints were decoded badly, and useful | |
here recently to show that the flex operators were being exercised and | |
failing in a font file not tested before. |
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
# This file for FontForge built with Python 2 | |
# | |
# The below suppressions suppress just about every entry that Python | |
# could have contributed to. This is likely excessive... ;) | |
# | |
# We make good use of the wildcarding features of Valgrind. By using | |
# wildcarded function names we can cover more cases with just one entry. | |
# And by using wildcarded library object filenames we can hope this | |
# source is portable to more systems. |
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
# The below suppressions suppress just about every entry that pango | |
# libraries could have contributed to. This is likely excessive... ;) | |
# | |
# We make good use of the wildcarding features of Valgrind. By using | |
# wildcarded library object filenames we can hope this source is | |
# portable to more systems. | |
# On one tested system (Ubuntu 14.04), these libraries are: | |
# /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.3600.3 | |
# /usr/lib/x86_64-linux-gnu/libpangoxft-1.0.so.0.3600.3 |
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
# This file for FontForge built with Python 3 | |
# | |
# The below suppressions suppress just about every entry that Python | |
# could have contributed to. This is likely excessive... ;) | |
# | |
# We make good use of the wildcarding features of Valgrind. By using | |
# wildcarded function names we can cover more cases with just one entry. | |
# And by using wildcarded library object filenames we can hope this | |
# source is portable to more systems. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
// Large swatches copied from jQuery. | |
// "cargo-culting, makes me happy" Don Ho we love you!! | |
Snap.plugin(function (Snap, Element ) { | |
// Used for splitting on whitespace | |
var core_rnotwhite = /\S+/g, | |
rclass = /[\t\r\n\f]/g, |
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
// One shot request HTTP client - show local/remote addresses | |
// | |
// Attempt to use a modified Agent that has own self.createConnection() | |
// that binds the client socket to a particular address. | |
var assert = require('assert'), | |
dns = require('dns'), | |
http = require('http'), | |
net = require('net'), | |
util = require('util'); |
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
I stumbled on this oddity in wanting to use curl as a test tool, as yet another ftp client to test an FTP server. I needed to force use of PORT/EPSV when curl _really_ seemed to want to use ipv6 commands. In all my test cases, only ipv4 connections were used, as the FTP server software disallowed ipv6 connections. | |
I have struggled figuring out how to illustrate the 'problem', as I am having a hard time describing the weirdness here. It is as though, if curl thinks there is any possibility of ipv6 connections, it 'resists' ipv4-style commands. This could be a problem, the lack of flexibility, in a mixed environment, when curl 'guesses' wrong. Not all software/hardware is ready for ipv6 and curl requiring ipv6 commands could cause problems. | |
I'll first give the minimum information, my local /etc/hosts and then a table of options vs. actions. And I'll copy much of this to a 'gist' so that the formatting won't be messed up) | |
On a defaulted Fedora 15 Linux the /etc/hosts file has both ipv4 and ipv6 definiti |
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
// Time a certain set of operations using Array, Buffer, Uint8Array | |
var classes_to_try = 'Array Buffer Uint8Array'.split(' '); | |
// Note that the "pool size" for Buffer is currently defaulted to 8192, | |
// so sizes under this will be satisfied using the pool slice method, | |
// but any size over this will go direct to SlowBuffer allocations. | |
var buffer_sizes = [100, 1000, 10000], |
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
//XXX Maybe someday there will be a nice way for user-land modules to | |
// generate pseudo-errno errors? | |
function errnoException(errno, syscall, message, path) { | |
var e = new Error(); | |
var msg = ''; | |
if ( syscall !== undefined ) { | |
msg += syscall + ' '; |