Skip to content

Instantly share code, notes, and snippets.

View fracek's full-sized avatar
🎯
Focusing

Francesco Ceccon fracek

🎯
Focusing
View GitHub Profile
template <typename OperatorType,
typename SignalType>
unsigned int rl(OperatorType &op, SignalType &gn, SignalType &bg, SignalType &x, unsigned int maxit) {
unsigned int it = 0;
SignalType temp = x;
SignalType temp2 = x;
while (it < maxit) {
B operator+(const B &other) {
B r = *this;
// RVO
r += other;
return r;
// No-RVO
return (r += other);
}
package com.trolltech.qt.core;
import com.trolltech.qt.*;
import com.trolltech.qt.QNativePointer;
@QtJambiGeneratedClass
define open C-subtype <QDate> (<C-void*>)
end;
package com.trolltech.qt.core;
import com.trolltech.qt.*;
@QtJambiGeneratedClass
define open C-subtype <QObject> (<C-void*>)
end;
{
define C-function setBuffer
input parameter self :: QBuffer;
parameter a :: com.trolltech.qt.QNativePointer;
c-name: "qtc_QBuffer_setBuffer_nativepointerQByteArray";
end;
define C-function setData
input parameter self :: QBuffer;
parameter data :: QByteArray;
c-name: "qtc_QBuffer_setData_QByteArray";
module: com.trolltech.qt.core
synopsis: generated bindings
copyright: See LICENSE file in this distribution.
define open C-subtype <QBuffer> (<QIODevice>)
end;
define C-function q-buffer
parameter buf :: com.trolltech.qt.QNativePointer;
parameter parent :: QObject;
module: com.trolltech.qt.core
synopsis: generated bindings
copyright: See LICENSE file in this distribution.
define open C-subtype <QDate> (<C-void*>)
end;
public enum MonthNameType implements com.trolltech.qt.QtEnumerator {
DateFormat(0),
StandaloneFormat(1);
module: qt-core
synopsis: generated bindings
copyright: See LICENSE file in this distribution.
define open C-subtype <QDate> (<C-void*>)
end;
define C-function QDate
c-name: "qtc_QDate_QDate";
@fracek
fracek / gist:9768469
Created March 25, 2014 18:45
error compiling deft
/Users/cek/Dev/deft/_build/build/deft/../deft-dfmc/../deft-server/../http-server/../regular-expressions/character-sets.c:5320:13:
error
:
hex escape sequence out of range
T3 = C('\xFFFF');
^~~~~~
/Users/cek/bin/opendylan-2013.2/include/run-time.h:186
Library: xxx
Target-Type: dll
Files: library.dylan
C-Header-Files: qtc_QAbstractAnimation.h
qtc_QAbstractEventDispatcher.h
qtc_QAbstractFactory.h
qtc_QAbstractFileEngine.h
qtc_QAbstractFileEngineHandler.h
qtc_QAbstractFileEngineIterator.h
qtc_QAbstractFileEngine_MapExtensionOption.h