Skip to content

Commit

Permalink
Add measurement code for reproduction
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeAtHPI committed May 17, 2024
1 parent 020c41c commit 45a4c95
Show file tree
Hide file tree
Showing 17 changed files with 3,167 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
#format : #tonel
}
3 changes: 2 additions & 1 deletion .squot
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ OrderedDictionary {
'packages/Sandblocks-Graph' : #SquotTonelSerializer,
'packages/Sandblocks-RatPack' : #SquotTonelSerializer,
'packages/Sandblocks-Plugin-StLivePreview' : #SquotTonelSerializer,
'packages/Sandblocks-Git' : #SquotTonelSerializer
'packages/Sandblocks-Git' : #SquotTonelSerializer,
'Joana-Core' : #SquotTonelSerializer
}
6 changes: 6 additions & 0 deletions Joana-Core/.squot-contents
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SquotTrackedObjectMetadata {
#objectClassName : #PackageInfo,
#id : UUID [ 'd25f57670bf5c440b225a46d41670b53' ],
#objectsReplacedByNames : true,
#serializer : #SquotTonelSerializer
}
19 changes: 19 additions & 0 deletions Joana-Core/CustomHashSet.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Class {
#name : #CustomHashSet,
#superclass : #Set,
#category : #'Joana-Core'
}

{ #category : #'as yet unclassified' }
CustomHashSet class >> reserve: aNumber [

^ self new
arraySize: aNumber;
yourself
]

{ #category : #'as yet unclassified' }
CustomHashSet >> arraySize: aSize [

array := self arrayType new: aSize
]
5 changes: 5 additions & 0 deletions Joana-Core/HashSet.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Class {
#name : #HashSet,
#superclass : #Set,
#category : #'Joana-Core'
}
26 changes: 26 additions & 0 deletions Joana-Core/ImageOperations.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Class {
#name : #ImageOperations,
#superclass : #Object,
#category : #'Joana-Core'
}

{ #category : #'as yet unclassified' }
ImageOperations class >> as8Bit: aForm [

^ aForm as8BitColorForm
]

{ #category : #'as yet unclassified' }
ImageOperations class >> dimmed: aForm [

^ aForm dimmed
]

{ #category : #'as yet unclassified' }
ImageOperations class >> emboss: aForm factor: aFactor bias: aBias [

^ aForm
processUsingKernel: (Matrix rows: 3 columns: 3 contents: #(-2 -1 0 -1 1 1 0 1 2))
factor: aFactor
bias: aBias
]
672 changes: 672 additions & 0 deletions Joana-Core/Images.class.st

Large diffs are not rendered by default.

Loading

0 comments on commit 45a4c95

Please sign in to comment.