Questions tagged [probing]

52 questions
1
vote
2 answers

Hashing (double hashing without rehash)

This is the question: Uses open addressing by double hashing, and the main hash function is hi(x) = (hash(x) + f(i)) mod M, where hash(x) = x mod M and f(i) = i ∗ hash2(x) and hash2(x) = 13 − (x mod 7). I need to INSERT the keys 27, 22, 16, 26, 47,…
user1026822
1
vote
0 answers

error calculating simple slopes using reghelper package

I am trying to calculate simple slopes involving a 3-way interaction (apoe4:time:sleep_eff_10). See below library(nlme) m1 <- lme(EF ~ sex_recoded + race_recoded + educ_year_centered + BMI_masterfile_centered + apoe4 + sleep_meds + CVD +…
D. Fowler
  • 601
  • 3
  • 7
1
vote
0 answers

In hash table, why not update h(x)(=h0(x) itself but use h1(x), h2(x) ..?

In hashtable, let’s say that H0(x) = x mod m And if we say that to avoid collision, we use linear probing Hi(x) = (x + i) mod m But whatever the hash function is, whether we do linear probing or quadratic probing, While searching for a key, it has…
JungIn Choi
  • 111
  • 2
1
vote
0 answers

How to load an assembly using probing?

I want to load an assembly from a subfolder named myFolder. I created a new directory C:\App\myFolder and move the Test.dll file to there and used probing in app.config like this:
mani_h
  • 31
  • 4
1
vote
1 answer

Linux, kprobes/kretprobes: a way to recover [from registers?] probe function's arguments?

/*kprobe_example.c*/ #define FUNCNAME alloc_file /* Find something better. printk() isnt recommended */ #include #include #include #include #include /*For each…
kagali-san
  • 2,964
  • 7
  • 48
  • 87
1
vote
2 answers

Does Kentico 10 use a different strategy for assembly loading/probing/handling than previous versions?

We have what seems to be a assembly loading or probing difference driven by Kentico 10 (compared to 9 and earlier) that I'm trying to understand, so I can troubleshoot assembly load errors, my current example being the following... Example: We've…
John K
  • 28,441
  • 31
  • 139
  • 229
1
vote
1 answer

Proof the quadratic probing function

I would really appreciate if someone could help solve this problem. The question is: Consider the following hash function: h(k, i) = (h’(k) + (1/2) (i + i^2 )) mod m, where m = 2^p for some positive integer p. Prove or disprove that for any k, the…
1
vote
1 answer

Probing .NET Assembly with Registration Free COM/.NET Interop

We have one assembly that is used by the VB6 executable via COM Interop. This assembly uses other .NET assembly (not available for COM). We have defined a .manifest for our VB6 application, so that we can use the .NET assembly without registration.…
Jehof
  • 34,674
  • 10
  • 123
  • 155
1
vote
0 answers

Linux - mask in probe_irq_off useless?

Context: writing drivers for linux. Source : free electrons - linux 4.x It seems that all the recent versions behave the same. Question Is the mask we pass to it (the "val" parameter) useless ? it seems unused in this function. Thanks
Larry
  • 1,735
  • 1
  • 18
  • 46
1
vote
1 answer

Probing is not working Asp.net 2.0

In my application(ASP.Net2.0),need to group the dlls. So that I used probing ande modified the web.config as follows
1
vote
1 answer

Probing Path - How to Force Calls to Remain Within a Directory Structure

Update - Original Question Below I've done some additional testing and I now believe that the source of my problems is how .NET is locating the assemblies. As I mentioned below there are .dll files in subdirectories but the .dll files I mentioned…
pmartin
  • 2,731
  • 1
  • 25
  • 30
1
vote
1 answer

Does setting AssemblyName.CodeBase force the assembly to be loaded in the LoadFrom context?

Does setting AssemblyName.CodeBase force the assembly to be loaded in the LoadFrom context? I'm working on a kind of plugin system. I need to be able to use Type.GetType etc... At any place in my code I should not have to know if the Type come from…
Yann Lebel
  • 675
  • 1
  • 7
  • 17
1
vote
2 answers

Probing Load Exception While Installing Windows Service On .NET

I have a windows service that is written in .NET, and i used probing feature in order to load dll's to this windows service. However, when i open command prompt and try to install windows service using installutil.exe, i got an error such as:…
Arda Güçlü
  • 728
  • 2
  • 6
  • 27
0
votes
1 answer

Executing application which references multiple different versions of an assembly

I am creating a test project to compare performance of EF4 to EF5 and i want to be able to have a separate dll for each EF version which references the correct EF version, but i want to be able to launch the tests from a single executable, at the…
undefined
  • 33,537
  • 22
  • 129
  • 198
0
votes
3 answers

Where is the assembly file?

i created a simple application , and i read in a book that the C# or any .net program is converted to an assembly file contains assembly code , but i`d like to know where to locate that assembly file .
R.Vector
  • 1,669
  • 9
  • 33
  • 41