Questions tagged [internals]

The internals tag denotes questions about how things work, as opposed to how to accomplish something specific. Of course, how something works underneath will have practical implications, but internals questions aren't about how to do something; rather, how to understand something.

If you understand how a database or parser or version control system actually works, you'll be better at using it. Internals questions seek this kind of inside knowledge.

660 questions
0
votes
2 answers

How does php determine the needed internal type of a variable?

This is a question about PHP internals and how it works under the hood: How does php decide that: $a = 3; needs to be an integer (internally)? and how that $a = "3"; needs to be a string? I once heard that PHP uses to cast every variable around…
serjoscha
  • 510
  • 4
  • 10
0
votes
1 answer

SQL Server Indexing

I am trying to understand what is going on with CREATE INDEX internally. When I create a NONCLUSTERED index it shows as an INSERT in the execution plan as well as when I get the query test. DECLARE @sqltext VARBINARY(128) SELECT @sqltext =…
Dustin Laine
  • 37,935
  • 10
  • 86
  • 125
0
votes
0 answers

NtRequestPort - parameter incorrect

I'm try to communicate with \Windows\SbApiPort port . The problem is that I get an error from NtRequestPort (0xc000000d - status invalid parameter). The parameters of PORT_MESSAGE are not documented so I don't know where is my problem... I tried to…
1337
  • 317
  • 1
  • 9
0
votes
1 answer

NtConnectPort error

I try to call the function NtConnectPort - I create a section and then forward this section to NtConnectPort . I get a running error from the function NtConnectPort. The return value is c000000d - The parameter is incorrect. I don't understand why.…
1337
  • 317
  • 1
  • 9
0
votes
1 answer

Does the Java VM provide custom stream handlers like PHP

PHP's stream API provides features to create custom "streams" within the zend engine. These stream features were designed to look and feel as if they were native Unix-like file descriptors where one can fopen, fwrite, fread, fseek, etc as if a…
JSON
  • 1,819
  • 20
  • 27
0
votes
2 answers

SetWinEventHook - Dll injection?

I try to inject a dll to a process through SetWinEventHook. SetWinEventHook(EVENT_OBJECT_TEXTSELECTIONCHANGED, EVENT_OBJECT_TEXTSELECTIONCHANGED, NULL , HandleWinEvent, iexploreId , 0, WINEVENT_OUTOFCONTEXT)) The hooked function is called, but I…
1337
  • 317
  • 1
  • 9
0
votes
1 answer

Windows Sleep function wakes before the given time

I have a simple code running on my 64 bit machine, Windows 7 as a standard windows application : do { DWORD getCurrentTick = GetTickCount();; Sleep(20); DWORD nextTick = GetTickCount(); printf("Tick = %d\n",…
Nuno_147
  • 2,817
  • 5
  • 23
  • 36
0
votes
1 answer

Query regarding the internal access control of swift language introduced in XCode 6 beta 4

Being from a Java background I was bit confused when I saw the internal access control of newly introduced Swift language. In Java when No access specifier is being added to a field or method then its assumed that the access modifier implemented on…
Kumar Vivek Mitra
  • 33,294
  • 6
  • 48
  • 75
0
votes
1 answer

What is the context of a task that is saved on stack when a task is blocked in VxWorks?

What is the context of a task that is saved on stack when a task is blocked in VxWorks?
0
votes
1 answer

Code object and purpose of co_name attribute

Follows by the python reference manual we've that Code objects represent byte-compiled executable Python code, or bytecode. and Special read-only attributes: co_name gives the function name; What is the value of co_name if the current…
user2953119
0
votes
4 answers

Javascripts String.split - how does it work internally?

I've recently discussed with a colleague how the separator of String.split is treated internally by JavaScript. Is the separator always converted into a regular expression? E.g. will calling String.split(",", myvar) convert the "," into a regualar…
casarock
  • 202
  • 3
  • 8
0
votes
1 answer

Using define within cond Racket, knights tour

I'm working on an implementation of knights tour using DFS in Racket. I looked up how to get define to work inside cond, and saw that wrapping define in let would make it work. But now I get this error: begin (possibly implicit): no expression…
0
votes
1 answer

What value does a database use to represent NULL on disk?

When a database system writes a record to a page on disk, and one of the fields in that record is null, what value is used to represent that 'null' such that when the record is read back in, it knows that the field is 'null.' Perhaps it is…
user113476
0
votes
1 answer

How to hook into some windows installation program process?

I hope my question is logical. Suppose I have third-party basic installation program. The first window is "I agree" checkbox, then click on "Next" button, then select installation folder, then click "Finish" button and the installation begins. Is…
theateist
  • 13,879
  • 17
  • 69
  • 109
0
votes
0 answers

SEH, stack corruption and others scenarios of OS taking over

At the moment, I'm aware of two scenarios where windows takes control of a thread's execution due to "Error oriented reasons" (though sometimes used as a code flow mechanisms , such as with try/catch blocks): SEH (and it's c,c++ wrappers -…