Skip to content

Instantly share code, notes, and snippets.

View feliwir's full-sized avatar
👨‍💻
Coding along

Stephan Vedder feliwir

👨‍💻
Coding along
  • mbits imaging GmbH
  • Germany
View GitHub Profile
import 'package:dicom_web/dicom_web.dart';
import 'package:flutter/material.dart';
import 'package:mray_client/models/series_model.dart';
import 'package:mray_client/models/studies_model.dart';
import 'package:mray_client/services/dicom_web_service.dart';
import 'package:mray_client/widgets/study_tile.dart';
import 'package:provider/provider.dart';
class InboxPage extends StatefulWidget {
const InboxPage({
[
{
"00080005": {
"Value": [
"ISO_IR 100"
],
"vr": "CS"
},
"00080008": {
"Value": [
Checking multipart-rs v0.1.0 (/home/stephan/Development/multipart-rs)
error[E0309]: the parameter type `E` may not live long enough
--> src/reader.rs:74:9
|
46 | impl<'a, E> MultipartReader<'a, E> {
| -- the parameter type `E` must be valid for the lifetime `'a` as defined here...
...
74 | MultipartReader::from_stream_with_boundary_and_type(stream, boundary, multipart_type)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `E` will meet its required lifetime bounds
|
window.config = {
routerBasename: '/',
extensions: [],
modes: [],
customizationService: {
dicomUploadComponent:
'@ohif/extension-cornerstone.customizationModule.cornerstoneDicomUploadComponent',
},
showStudyList: true,
maxNumberOfWebWorkers: 3,
5:a8 SetVariable env:Lexical init:Set 6 (n):
0x00007f33e5c964c5 be b0 92 a8 00 mov esi, 0x00a892b0
0x00007f33e5c964ca 4c 89 e2 mov rdx,r12
0x00007f33e5c964cd 41 b9 a4 91 a8 00 mov r9d, 0x00a891a4
0x00007f33e5c964d3 41 0f b6 41 08 movzx eax,[r9+0x8]
0x00007f33e5c964d8 48 85 c0 test rax,rax
0x00007f33e5c964db 0f 84 59 00 00 00 jz near e5c9653a <5:a8+0x75>
0x00007f33e5c964e1 49 8b 4f 20 mov rcx,[r15+0x20]
0x00007f33e5c964e5 8b 02 mov eax,[rdx]
0x00007f33e5c964e7 48 85 c0 test rax,rax
void Compiler::compile_put_by_value(Bytecode::Op::PutByValue const& op)
{
load_vm_register(ARG1, op.base());
load_vm_register(ARG2, op.property());
Assembler::Label end {};
Assembler::Label slow_case {};
branch_if_object(ARG1, [&] {
branch_if_int32(ARG2, [&] {
template<typename CodegenI32, typename CodegenDouble>
void Compiler::branch_if_both_numbers(Assembler::Reg lhs, Assembler::Reg rhs, CodegenI32 codegen_i32, CodegenDouble codegen_double)
{
Assembler::Label end {};
// The only case where we can take the int32 fastpath
branch_if_both_int32(lhs, rhs, [&] {
codegen_i32(lhs, rhs);
});
#include "x3d_texture_gl.h"
#include <cassert>
#include <cstring>
X3D::X3DTextureGL::X3DTextureGL(int width, int height, X3DTextureFormat fmt, int levels) :
X3DTexture(width, height, fmt, levels)
{
glGenTextures(1, &m_texture);
m_pbos = new GLuint[m_levels];
}
==622580==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 765248 byte(s) in 1087 object(s) allocated from:
#0 0x7fb7986d9e28 in operator new(unsigned long) (/lib64/libasan.so.8+0xd9e28) (BuildId: e5f0a0d511a659fbc47bf41072869139cb2db47f)
#1 0xa58219 in ParticleSystemManager::New_Template(Utf8String const&) /home/stephan/Development/Thyme/src/game/client/system/particlesystem/particlesysmanager.cpp:208
#2 0xa59fff in ParticleSystemManager::Parse_Particle_System_Definition(INI*) /home/stephan/Development/Thyme/src/game/client/system/particlesystem/particlesysmanager.cpp:455
#3 0x48acf6 in INI::Load(Utf8String, INILoadType, Xfer*) /home/stephan/Development/Thyme/src/game/common/ini/ini.cpp:233
#4 0xa56438 in ParticleSystemManager::Init() /home/stephan/Development/Thyme/src/game/client/system/particlesystem/particlesysmanager.cpp:67
#5 0x53509b in SubsystemInterfaceList::Init_Subsystem(SubsystemInterface*, char const*, char const*, char const*, Xfer*, Utf8String) /home/stephan/
/* window.rs
*
* Copyright 2023 stephan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,