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/poppler/Annot.cc b/poppler/Annot.cc | |
index 15c86a05..8cbeb6a5 100644 | |
--- a/poppler/Annot.cc | |
+++ b/poppler/Annot.cc | |
@@ -1565,40 +1565,54 @@ void Annot::incRefCnt() { | |
annotLocker(); | |
refCnt++; | |
} | |
void Annot::decRefCnt() { |
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
extern crate lyon_tessellation; | |
#[cfg(test)] | |
mod tests { | |
use lyon_tessellation::{FillError, FillOptions, FillTessellator, FillVertex}; | |
use lyon_tessellation::path::builder::{FlatPathBuilder,PolygonBuilder}; | |
use lyon_tessellation::path::default::Path; | |
use lyon_tessellation::geometry_builder::{BuffersBuilder,VertexBuffers}; | |
use lyon_tessellation::geom::euclid::{Point2D, Point3D}; |
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
"""Some experiments on how we can combine custom class lookup with lxml.objectify.""" | |
from enum import Enum | |
from io import StringIO | |
from lxml import etree, objectify | |
from typing import Union | |
class MyEnum(Enum): | |
"""Can we associate this pure python type with a specific XML element <myEnumValue>? |
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
# Add this file as module to your PSModulePath, call Test-Leak in an interactive PS session, | |
# and watch the managed heap size in a debugger session | |
$Global:Vars = [hashtable]::Synchronized(@{}); | |
$Global:Vars.Add('WorkerQueues', @{}); | |
function Producer { | |
param ( | |
$ThreadId = 0 | |
) |