Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Francesco Ceccon fracek

🎯
Focusing
View GitHub Profile
View rl_algo.hpp
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) {
View t.cc
B operator+(const B &other) {
B r = *this;
// RVO
r += other;
return r;
// No-RVO
return (r += other);
}
View QObject.dylan
package com.trolltech.qt.core;
import com.trolltech.qt.*;
@QtJambiGeneratedClass
define open C-subtype <QObject> (<C-void*>)
end;
{
View QDate.dylan
package com.trolltech.qt.core;
import com.trolltech.qt.*;
import com.trolltech.qt.QNativePointer;
@QtJambiGeneratedClass
define open C-subtype <QDate> (<C-void*>)
end;
View QBuffer.dylan
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";
View QBuffer.dylan
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;
View QDate.dylan
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);
View QDate.dylan
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 Mar 25, 2014
error compiling deft
View gist:9768469
/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
View qt_core.lid
Library: xxx
Target-Type: dll
Files: library.dylan
Global
QAbstractAnimation
QAbstractEventDispatcher
QAbstractFactory
QAbstractFactoryInterface
QAbstractFileEngine
QAbstractFileEngineHandler