Displaying 7 results from an estimated 7 matches for "obj_typ".
Did you mean:
obj_type
2012 Apr 05
0
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
...think). I just want to implement try/finally semantics and propagate whatever exception was thrown back up the call stack.
I've written a function to add what I think is all the necessary code for constructing/destructing an object:
> AllocaInst* construct_obj( char const *obj_name, Type *obj_type,
> Function *ctor, vector<Value*> &ctor_args,
> Function *dtor ) {
>
> // Allocate object's storage and insert 'this' ptr into ctor args.
> AllocaInst *const obj_ptr = createEntryBlockAlloca( fn, obj_na...
2012 Mar 23
2
[LLVMdev] Catching C++ exceptions, cleaning up, rethrowing
On Mar 23, 2012, at 4:29 PM, Paul J. Lucas wrote:
> On Mar 23, 2012, at 3:25 PM, Bill Wendling wrote:
>
>> Let's take your example. You will have code that looks like this:
>>
>> extern "C" void thunk_item_M_delete( void *v_that ) {
>> item *that = 0;
>> try {
>> that = static_cast<item*>( v_that );
>>
2006 Jul 18
0
non-optimal sql
...begin
delete from tagpairs where id = 33;
delete from tagpairs where id = 34;
delete from tagpairs where id = 35;
...
insert into tagpairs (...) values (...);
insert into tagpairs (...) values (...);
...
commit
This would be better as:
delete from tagpairs where obj_type = ''guidepage'' and obj_id = 1;
insert into tagpairs (...) values (...);
...
In my case, I''m using a polymorphic association. However, the basic idea applies to a non-polymorphic association. We can and should delete members of the association based on the assoc...
2020 Nov 19
1
Learning to build applications
...c -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/exception.o src/exception.cpp In file included from src/exception.cpp:18:0: src/exception.h:41:11: error: ?underlying_type_t? in namespace ?std? does not name a type constexpr std::underlying_type_t<Enum> enum_cast (Enum obj_type) noexcept ^ src/exception.cpp: In constructor ?Exception::Exception(ErrorCode, const QString&, const QString&, int, Exception*, const QString&)?: src/exception.cpp:295:86: error: ?enum_cast? was not declared in this scope configureException(QApplication::translate("Exception"...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...ox.com>");
> +MODULE_DESCRIPTION("Mellanox VDPA driver");
> +MODULE_LICENSE("Dual BSD/GPL");
> +
> +static bool required_caps_supported(struct mlx5_core_dev *mdev)
> +{
> + u8 event_mode;
> + u64 got;
> +
> + got = MLX5_CAP_GEN_64(mdev, general_obj_types);
> +
> + if (!(got & MLX5_GENERAL_OBJ_TYPES_CAP_VIRTIO_NET_Q))
> + return false;
> +
> + event_mode = MLX5_CAP_DEV_VDPA_EMULATION(mdev, event_mode);
> + if (!(event_mode & MLX5_VIRTIO_Q_EVENT_MODE_QP_MODE))
> + return false;
> +
> + if (!MLX5_CAP_DEV_VDPA_EMU...
2012 Jul 19
1
kernel panic caused by zfs/sa.c
Hello,
I'm experiencing a kernel panic that appears to be caused by zfs.
No errors are making it into /var/log/messages, but here is the error
message that appears on my screen after panic (transcribed):
panic solaris assert BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC,
file: /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/sa.c, line 1262
I can reproduce this by
2012 Dec 12
43
[PATCH 00/37] [RFC] revamped modeset locking
Hi all,
First thing first: It works, I now no longer have a few dropped frames every 10s
on my testbox here with the pageflip i-g-t tests.
Random notes:
- New design has per-crtc locks to protect the crtc input-side (pageflip,
cursor) for r/w and the output state of the crtc (mode, dpms) as read-only. It
also required completely revamped fb lifecycle management, those are now
refcounted