Skip to content

Instantly share code, notes, and snippets.

@rburing
rburing / Winline.txt
Last active August 26, 2025 22:48
Functions marked _FORCE_INLINE_ that don't always get inlined when _FORCE_INLINE_ = inline
4804 ./core/templates/cowdata.h:186:33: warning: inlining failed in call to 'get': --param inline-unit-growth limit reached [-Winline]
1399 ./core/templates/rid_owner.h:201: warning: inlining failed in call to 'get_or_null.constprop': --param inline-unit-growth limit reached [-Winline]
1344 ./core/templates/cowdata.h:186: warning: inlining failed in call to 'get.isra': --param inline-unit-growth limit reached [-Winline]
1203 ./core/object/object.h:354:29: warning: inlining failed in call to 'is_class': --param inline-unit-growth limit reached [-Winline]
1067 ./core/object/ref_counted.h:64:29: warning: inlining failed in call to 'ref_pointer': --param inline-unit-growth limit reached [-Winline]
783 ./core/templates/vector.h:53: warning: inlining failed in call to 'operator[]': --param inline-unit-growth limit reached [-Winline]
757 ./core/object/object.h:836:31: warning: inlining failed in call to 'get_class': --param inline-unit-growth limit reached [-Winline]
729 ./core/templates/c
SINGULAR /
A Computer Algebra System for Polynomial Computations / version 4.2.0
0<
by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann \ Dec 2020
FB Mathematik der Universitaet, D-67653 Kaiserslautern \
/home/rburing/Documents/stdVerbose.S 1> option(teach);
/home/rburing/Documents/stdVerbose.S 2> option(redTail);
/home/rburing/Documents/stdVerbose.S 3> option(prot);
/home/rburing/Documents/stdVerbose.S 4> ring r=0, (y0,y1,y2,y3,y4,y5,y6,y7,y8,x0,x1,x2,x3,x4,x5,x6), dp;
/home/rburing/Documents/stdVerbose.S 5> ideal i = x1 + 7/5*x3 + 7/5*x5 - 4/125,
# WorldChunkLoader
# Dynamically load and unload chunks on a 3D grid.
#
# Direct children should be scenes with Load As Placeholder checked.
# Direct children should be aligned on a grid.
# (To align in 3d scene editor: Transform -> Configure Snap -> Translate Snap.)
# Player should have a WorldChunkGPS component, which sends a signal to here.
#
# Algorithm: load current chunk and all neighbors around it; unload the rest.
extends Spatial
// crash clang++ 3.3
template<char... elements>
class Chars
{
friend void f(Chars<elements>) {} // without friend does not crash
};
/*
% clang++ -v -std=c++0x -c crashclang.cc
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
import networkx as nx
def contract_edges(G,nodes, new_node, attr_dict=None, **attr):
'''Contracts the edges of the nodes in the set "nodes" '''
#Add the node with its attributes
G.add_node(new_node, attr_dict, **attr)
#Create the set of the edges that are to be contracted
cntr_edge_set = G.edges(nodes, data = True)
#Add edges from new_node to all target nodes in the set of edges that are to be contracted
#Possibly also checking that edge attributes are preserved and not overwritten,