search for: destruct

Displaying 20 results from an estimated 1495 matches for "destruct".

2002 Feb 23
3
Non-destructive channel reversal
I'd like to know if there's a way to non-destructively reverse L-R channels in an ogg vorbis file? I've been recording live classical sources, but until tonight haven't listened to them on anything with even approaching decent stereo separation. Well, you guessed it. Why the hell are the violins on the right and the brass on the left?...
2009 Mar 10
1
surprising behaviour of names<-
...mes(x) # NULL where 'names<-' has a functional flavour (does not change x), but: x = 1:2 names(x) # NULL 'names<-'(x, 'foo') # c(foo=1, 2) names(x) # "foo" NA where 'names<-' seems to perform a side effect on x (destructively modifies x). furthermore: x = c(foo=1) names(x) # "foo" 'names<-'(x, NULL) names(x) # NULL 'names<-'(x, 'bar') names(x) # "bar" !!! x = c(foo=1) names(x) # "foo" 'names<-...
2010 Mar 19
1
[LLVMdev] Checker for destruction-needing classes allocated in BumpPtrAllocators?
Hi Ted, Doug said you might have a clang-based checker that would detect when people allocate memory with a BumpPtrAllocator and then construct a class into it that needs destruction. In killing valgrind-found memory leaks in LLVM, I've found several instances of this mistake. They often involve SmallVectors, which only show up as leaks in valgrind if they happen to overflow their static allocation, so it would be useful to also check this statically. Could you point me...
2006 Apr 12
1
Doing destructive actions with a GET request
I know that you should always use a POST to perform actions that are destructive. I intend to break this rule and use a GET, but before I do, I''d like to know if there is a better way of doing this:- I have an account edit form for the user to make changes to their profile. They have to be logged-in to do this. The problem is I have a file_column field within th...
2019 Jan 16
2
Skipping construction/destruction of stack allocated objects
Hello, For performance reasons, I would like to provide a way to skip construction/destruction of objects that are stack allocated. Typically, C-style arrays of std::complex create an initialization loops that is almost always unnecessary. I am thinking of providing an __attribute__((uninitialized)) that can be applied to an object declaration: { std::complex<float> foo[64][64...
2007 Mar 21
4
Problem with PaintDC(MSW)
When implementing EVT_PAINT handlers in c++ the PaintDC object is constructed at the beginning of the function, and auto destructed at it''s end, which informs wxwidgets that "invalid regions in the window have been repainted". Under ruby, this is not the case and causes a stream of EVT_PAINT events to be sent to the given window (until one of PaintDC objects is destructed by garbage collector). To solve t...
2004 Jul 05
3
Randy Bush is a destructive force with a hidden professional agenda
...hides his agent status behind his condescending facade. What do you want Randy? Go back to Admiralty way with all your ICANNite cronies if you're not going to behave here! Your on notice as of now and you're being watched. Don't try to destroy this community like the trail of destruction behind you! If you wanna play nice in the sandbox then okay, but most people know better than to trust you any farther than they can throw you already - This community and the associated technologies aren't subject to usurpation by the "Special Interest" groups that fund...
2013 Feb 14
5
using @releaseDomain to subscribe for domain destruction
Hello!. How can i use @releaseDomain from dom0 to subscribe for domain destruction? I''m try to add watch for @releaseDomain path with token equal of needed domain id. But when another domain dies, i get domain that i provide via token to xs_watch. Is that possible to get id of domain what released from xenstore? -- Vasiliy Tolstov, Clodo.ru e-mail: v.tolstov@selfip....
2009 Mar 24
1
Is the net rpc vampire at all destructive to a NT4 PDC?
...registry(regedit etc..) so you can read the entries your PDC will not work. What's not exactly clear is if any of the tools like net rcp vampire or getsid tools change the operation of the PDC in this way or any other way for that mater. The net rcp tools don't access the registry in this destructive way do they? Like: # net rpc vampire -S TRANSGRESSION -U Administrator%not24get > /tmp/vampire.log 2>1 Is it safe to run the net rpc vampire command on a PDC as many times as you want in effort to test the NT4 -> samba PDC? While keeping the NT4 PDC in production mode? With the goal o...
2009 Mar 24
0
Is the net rpc vampire at all destructive to a NT4 PD C?
...d the entries your PDC will not work. > > What's not exactly clear is if any of the tools like net rcp vampire > or > getsid tools change the operation of the PDC in this way or any other > way > for that mater. The net rcp tools don't access the registry in this > destructive way do they? > Like: > # net rpc vampire -S TRANSGRESSION -U Administrator%not24get > > /tmp/vampire.log 2>1 > > Is it safe to run the net rpc vampire command on a PDC as many times > as you > want in effort to test the NT4 -> samba PDC? While keeping the NT4...
2009 Nov 04
0
channel destruction after a transfer call
...;A is destroyed after a variable time by some kind of garbage collector) Is this the normal behaviour, or it depends on our specific redirection? If C were a user instead, we noticed the same behaviour in the two cases (in both cases, the channel is immediately destroyed). We need the immediately destruction of the unused channel, to immediately reuse it to place another call. How can we make asterisk close immediately the unused channel after the redirection? Thanks a lot!
2009 Nov 12
0
Scheduling destruction of SIP dialog
Hello, I got situation which is unclear for me, hope somebody could explain this. A calls to B INVITE sent from A to B B responds with 100 Trying B responds with 183 Progress After 10 seconds: Asterisk CLI: Scheduling destruction of SIP dialog '..' in 32000 ms (Method: INVITE) Asterisk sends CANCEL _instantly_ B responds with 200 OK and 487 Request Terminated Asterisk confirms 102 ACK CLI: Really destroying SIP dialog '..' Method: INVITE Call terminates Asterisk version 1.4.18.1 Total call duration: 11s...
2014 Apr 29
0
Destruction of SIP dialog for OPTIONS requests
...sts on the existing TCP socket. Kamailio times out, and re-opens a new TCP socket when the next probe is due. This works again, and probing is successful, until Asterisk destroys the dialog again. I've configured Asterisk so that is replies with a 200 OK. Is there a way I can avoid the dialog destruction, and let Kamailio use the same TCP socket for whatever time is necessary, rather than about 30"? Is my Asterisk behaving as expected? What's your advice for this type of configuration? Thanks in advance, -- Giacomo Vacca -------------- next part -------------- An HTML attachment was...
2015 Jul 28
0
[LLVMdev] Clang devirtualization proposal
Having read through the proposal, I feel like I missing some of the background to understand the problem you're trying to solve. My mental model is that construction of an object creates a new abstract location in an infinite heap with each object infinitely far apart. Destruction of the object destroys the abstract location. As a result, destructing one object and constructing another produce unique incomparable abstract locations. The fact the two abstract locations might happen to share a physical address is irrelevant. If I'm understanding the proposal corre...
2013 Feb 09
3
[LLVMdev] ManagedStatic and order of destruction
...to two questions: 1. An assertion enforces that the objects are deleted in reverse order of allocation. Is there any hard requirement for this, or is it only because of the way the linked list is created? 2. Would anything change (functionally) if we simply called destroy() in the ManagedStatic destructor? Wouldn't this be safer than relying on a client to call llvm_shutdown()? It seems like the whole purpose of llvm_shutdown() is to allow clients to free the data allocated by ManagedStatic instances. Could we not just give them an option, but by default clean up during global destruction?...
2015 Jul 29
2
[LLVMdev] [cfe-dev] Clang devirtualization proposal
...Having read through the proposal, I feel like I missing some of the > background to understand the problem you're trying to solve. > > My mental model is that construction of an object creates a new abstract > location in an infinite heap with each object infinitely far apart. > Destruction of the object destroys the abstract location. As a result, > destructing one object and constructing another produce unique incomparable > abstract locations. The fact the two abstract locations might happen to > share a physical address is irrelevant. > > If I'm understandi...
2013 Feb 13
0
[LLVMdev] ManagedStatic and order of destruction
...> > On 12/02/2013 6:31 p.m., Justin Holewinski wrote: > > Ping. Anyone with knowledge of detailed knowledge of the ManagedStatic > implementation? > > The use-case we are looking at is getting rid of llvm_shutdown() by > cleaning up the ManagedStatic data when the global destructors run. > > > On Sat, Feb 9, 2013 at 5:25 PM, Justin Holewinski < > justin.holewinski at gmail.com> wrote: > >> I'm curious about the design rationale for how ManagedStatic instances >> are cleaned up, and I'm hoping someone can shed some light on it. >&g...
2006 Nov 22
1
Zombies?
Hey all, Quick question about handling completed workers... Most of my workers are one-offs that just let me spin off a long-running file transfer process and then they just need to self-destruct when completed. Thus, at the end of my do_work, I just call self.delete to (in theory) self-destruct. However, while checking the jobs.size from the console, I''ve noticed that this doesn''t seem to be working. Further, by grabbing the worker keys via jobs.keys, I try to manually c...
2007 May 22
0
[1029] trunk/wxruby2/swig/classes/MenuBar.i: Add special GC protection for Wx::Menu to prevent premature destruction
...isplay:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1029] trunk/wxruby2/swig/classes/MenuBar.i: Add special GC protection for Wx::Menu to prevent premature destruction</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1029</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> <dd>2007-05-22 04:20:06 -0400 (Tue, 22 May 2007)</dd> </...
2019 Oct 23
0
[PATCH net-next 13/14] vsock: prevent transport modules unloading
...#39;module' member in the 'struct vsock_transport' in order to get/put the transport module. This prevents the module unloading while sockets are assigned to it. We increase the module refcnt when a socket is assigned to a transport, and we decrease the module refcnt when the socket is destructed. Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com> Signed-off-by: Stefano Garzarella <sgarzare at redhat.com> --- RFC -> v1: - fixed typo 's/tranport/transport/' in a comment (Stefan) --- drivers/vhost/vsock.c | 2 ++ include/net/af_vsock.h | 2...