tagged [call]

Why is tail call optimization not occurring here?

Why is tail call optimization not occurring here? We are using recursion to find factors and are receiving a StackOverflow exception. We've read that [the C# compiler on x64 computers performs tail ca...

Show Toast over PhoneScreen in LockState

Show Toast over PhoneScreen in LockState Our goal is to show a toast when an incomming call happens. Then the toast is visible the ". We tried different approches with like the same result: - - ``` pu...

Tools to get a pictorial function call graph of code

Tools to get a pictorial function call graph of code I have a large work space which has many source files of C code. Although I can see the functions called from a function in MS VS2005 using the Obj...

15 Nov at 10:13

How to find out when an Oracle table was updated the last time

How to find out when an Oracle table was updated the last time Can I find out when the last INSERT, UPDATE or DELETE statement was performed on a table in an Oracle database and if so, how? A little b...

5 Nov at 13:53

What is the purpose of the extra ldnull and tail. in F# implementation vs C#?

What is the purpose of the extra ldnull and tail. in F# implementation vs C#? The following C# function: compiles unsurprisingly to this: But the equivalent F# function: compiles to this: ``` IL_0000:...

How to call a mysql stored procedure, with arguments, from command line?

How to call a mysql stored procedure, with arguments, from command line? How can I call a stored procedure from command line? I have a procedure: ``` CREATE DEFINER=`root`@`localhost` PROCEDURE `inser...

22 Apr at 21:49

Why does tail call optimization need an op code?

Why does tail call optimization need an op code? So [I've read many times before](https://stackoverflow.com/a/491463/5056) that technically .NET support tail call optimization (TCO) because it has the...

WP 8.1 Runtime code to make phone call, send SMS & send Email (not the Silverlight 8.1)

WP 8.1 Runtime code to make phone call, send SMS & send Email (not the Silverlight 8.1) I'm writing an app which will make a phone call, send sms or email just like the People app in wp 8.1 . So far I...

Check if returned value is not null and if so assign it, in one line, with one method call

Check if returned value is not null and if so assign it, in one line, with one method call Java is littered with statements like: Which takes two calls to `getChicken()` before the returned object can...

Why can't I call a public method in another class?

Why can't I call a public method in another class? I have got these two classes interacting and I am trying to call four different classes from class one for use in class two. The methods are public a...

26 Sep at 09:49

how to create and call scalar function in sql server 2008

how to create and call scalar function in sql server 2008 I have created a Scalar Functions, it was created successfully, but when I call the function using select statement, it says invalid object, I...

How to resolve ambiguous ZIP call between Enumerable and MoreLINQ?

How to resolve ambiguous ZIP call between Enumerable and MoreLINQ? I've ran into problem with extension method resolution. LINQ and MoreLINQ contain `zip` method, it was present in .NET since version ...

23 May at 12:2

How to call a function, PostgreSQL

How to call a function, PostgreSQL I'm trying to use a function with PostgreSQL to save some data. Here is the create script: ``` -- Function: "saveUser"(integer, character varying, character varying,...

10 Nov at 08:20

CLR implementation of virtual method calls to interface members

CLR implementation of virtual method calls to interface members Out of curiosity: I know about the VTable that the CLR maintains for each type with method slots for each method, and the fact that for ...

23 May at 12:32

Will a properly implemented recursive lazy iterator function never stack overflow?

Will a properly implemented recursive lazy iterator function never stack overflow? In C#, do you have guarantees that a lazy iterator function that calls nothing but itself and does have a valid recur...

Passing variables, creating instances, self, The mechanics and usage of classes: need explanation

Passing variables, creating instances, self, The mechanics and usage of classes: need explanation I just rewrote a working program into functions in a class and everything messed up. , in the `__init_...

Is there a technical reason that C# does not issue the "tail." CIL instruction?

Is there a technical reason that C# does not issue the "tail." CIL instruction? > [Why doesn't .net/C# eliminate tail recursion?](https://stackoverflow.com/questions/491376/why-doesnt-net-c-eliminate...