Questions tagged [probing]

52 questions
13
votes
2 answers

Is it possible to set assembly probing path w/o app.config?

I need to place DLLs for my application inside subfolder. It is possible to set this subfolder via app.config:
Victor Haydin
  • 3,518
  • 2
  • 26
  • 41
13
votes
2 answers

FileLoadException At InitializeComponent or x:Class=

I get a file loader exception (first chance) at the InitializeComponent-method or the debugger breaks at the x:Class attribute of the xaml-root of multiple WPF user controls. Everything works fine despite the fact that the exceptions slow down…
quadroid
  • 8,444
  • 6
  • 49
  • 82
13
votes
2 answers

C# Set probing privatePath without app.config?

I have a C# application, and to organize its files I have some DLL's in a folder called "Data". I want the EXE to check this folder for the DLL's just like how it checks its current directory. If I created a App.Config with this information:
Landin Martens
  • 3,283
  • 12
  • 43
  • 61
9
votes
2 answers

What is the goal of somebody probing my aws ec2 instance with apache2?

From access.log I found weird visiting pattern. What would be the purpose of this kind of probing? 219.106.219.16 - - [11/Mar/2016:15:00:14 +0200] "HEAD my.aws.ec2.instance:80/1phpmyadmin/ HTTP/1.1" 404 195 "-" "Mozilla/5.0 Jorgee" 219.106.219.16 -…
Tiit Paananen
  • 121
  • 1
  • 6
6
votes
2 answers

MsBuild does not look in the good directory for custom task's second-level dependencies

I wrote a MsBuild Task : MyTask. In my solution, I have the Task project and others projects. MyTask references a project (say ProjA) which references third assemblies, say (dep1 and dep2). The projects all builds well and I have the outputs in one…
6
votes
1 answer

What is the difference between chaining and probing in hash tables?

How do they work? What is their major differences? What are their respective trade-offs? What are their types (if any)? When is one preferred to another (if at all)? PS: I've already gone through Anagrams - Hashing with chaining and probing in C and…
th3an0maly
  • 3,360
  • 8
  • 33
  • 54
6
votes
2 answers

Using element in app.config

I intend to keep few dll's in a folder other than the bin folder for my .NET 3.5 Windows application. I am unsure of how would I use the codebase element or the probing element to specify the right path. This is what I have in the app.config file…
theraneman
  • 1,620
  • 4
  • 18
  • 32
5
votes
3 answers

Quadratic probing over Linear probing

For a given hash value, the indices generated by linear probing are as follows: h, h+1, h+2, h+3, etc.. For a given hash value, the indices generated by quadratic probing are as follows: h, h+1, h+4, h+9, etc.. There will be cluster formed in…
5
votes
3 answers

Limit for quadratic probing a hash table

I was doing a program to compare the average and maximum accesses required for linear probing, quadratic probing and separate chaining in hash table. I had done the element insertion part for 3 cases. While finding the element from hash table, I…
Arun Babu
  • 259
  • 1
  • 4
  • 12
3
votes
2 answers

Probing the assembly from parent directory of the exe

i have a folder structure as IntegrationClient\SampleClient\Client.Exe. I have created a folder DrawingClient with lot of thirdparty assemblies. For client.exe to find the assembly at runtime , i have used probing path as below and it…
battech
  • 803
  • 2
  • 13
  • 25
3
votes
0 answers

nunit-agent seems to be failing to load probing privatePath from tests configuration

Previously, when I had only Visual Studio 2010, my unit tests were executing fine. Basically, my tests are composed of two files: UnitTests.dll and UnitTests.dll.config. Where UniTests.dll.config had a custom probing privatePath (e.g.,…
2
votes
0 answers

Accessing assemblies in directory other than bin from razor view pages

I have a simple ASP.NET MVC 4 Project. I want to load assembly from 'lib' folder in root of my project instead of 'bin' folder. I add to my web.config. I have custom.dll in 'lib' folder. Now i can write using…
Arman
  • 796
  • 6
  • 12
2
votes
1 answer

Probing every R'th location for hashing

Something I was curious about from my lecture: Suppose we want to probe every Rth location for the function x mod 10 and R = 2. Now to hash 4, 14, 114, 1114, and 11114: 4 would go in slot 4. 14 would first try to get into slot 4, but seeing that…
forthewinwin
  • 4,455
  • 4
  • 19
  • 17
2
votes
1 answer

What is the cost of deleting a value from a hashtable?

Now I have this question where I was asked the cost of deleting a value from a hash table when we used linear probing while the insertion process. What I could figure out from reading various stuff on the internet is that it has to do something with…
dharam
  • 7,882
  • 15
  • 65
  • 93
2
votes
1 answer

Can not load managed assembly that is located in the same folder

To recreate my production environment I created the following folder structure: c:\TEST\tested.dll c:\TEST\tested\tools.dll The tested.dll is compiled using the following App.config file:
Johannes
  • 6,490
  • 10
  • 59
  • 108
1
2 3 4