Questions tagged [internal]

The internal tag should be used when the question in which this tag has been used is about the internal operation in a function, language, program, or system.

736 questions
15
votes
2 answers

What is the reasoning behind x64 having such a different performance result from x86?

I was answering a question on Code Review and I discovered an interesting difference in performance (like, a lot) between x64 and x86. class Program { static void Main(string[] args) { BenchmarkRunner.Run(); …
Der Kommissar
  • 5,848
  • 1
  • 29
  • 43
15
votes
0 answers

WebKit encountered an internal error: WebKitErrorDomain:300

I'm experiencing a "Safari can't open the page. The error is: "WebKit encountered an internal error" (WebKitErrorDomain:300) on my site using safari browser. this appears when visited. but on other browsers it seems okay. Does anyone know why and…
Jarvis
  • 169
  • 1
  • 1
  • 4
15
votes
2 answers

Execution flow in MVC

I am trying to learn MVC in detail, and I am wondering what's the exact functional flow internally, in the sense of which functions (important functions) are called and what they do when the application starts and what functions are called apart…
14
votes
2 answers

Saving public files in the internal storage

I have an application that saves files downloaded from a server. These files are not private to my application and should be accessible to other applications as well. I want to know what would be the correct path to save these files when the SD card…
Akshay
  • 5,747
  • 3
  • 23
  • 35
14
votes
2 answers

Can I make a type "sealed except for internal types"

I want to make a type that can be inherited from by types in the same assembly, but cannot be inherited from outside of the assembly. I do want the type to be visible outside of the assembly. Is this possible?
Lucas Meijer
  • 4,424
  • 6
  • 36
  • 53
14
votes
1 answer

internal interface *less* accessible than an internal protected constructor?

I have an interface and an abstract base class defined in the same assembly: IFoo.cs: internal interface IFoo { ... } Base.cs: public abstract class Base { internal protected Base(IFoo foo) { ... } } This generates the following compiler…
Scott Smith
  • 3,900
  • 2
  • 31
  • 63
14
votes
2 answers

Android Internal Storage when updating application

I use the internal storage (http://developer.android.com/guide/topics/data/data-storage.html#filesInternal) to store some necessary application files, that the user creates. I suppose that these files are stored forever right? They are removed only…
steliosf
  • 3,669
  • 2
  • 31
  • 45
13
votes
2 answers

Why can't you name a function in Go "init"?

So, today while I was coding I found out that creating a function with the name init generated an error method init() not found, but when I renamed it to startup it all worked fine. Is the word "init" preserved for some internal operation in Go or…
Max
  • 792
  • 1
  • 8
  • 20
13
votes
2 answers

protected internal

The C# Language Reference on MSDN defines 'protected internal' as "Access is limited to the current assembly or types derived from the containing class". But from a semantic point of view, 'protected internal' sounds to me like 'both protected and…
Asegid Debebe
  • 165
  • 1
  • 8
12
votes
1 answer

Android: how to delete internal image file

What i want to do: delete an image file from the private internal storage in my app. I save images in internal storage so they are deleted on app uninstall. I have successfully created and saved: String imageName = System.currentTimeMillis() +…
james
  • 26,141
  • 19
  • 95
  • 113
11
votes
4 answers

How to make all entities access:internal instead of public in EDMX?

I'd like my Entity Framework model to generate entities with internal access modifier, instead of public. I use the EF model in a library and I want only a single class (some controller) to be accessible from outside. Is there any simple way to…
Kornelije Petak
  • 9,412
  • 15
  • 68
  • 96
11
votes
6 answers

How to prevent an abstract class with public derived classes from being inherited in other assemblies?

I want to write something like the following: internal class InternalData { } public class PublicData { } abstract internal class Base { internal Base() { } private static InternalData…
penartur
  • 9,792
  • 5
  • 39
  • 50
11
votes
2 answers

Basic internal links don't work in honeycomb app?

Internal links do not seem to be working in Android version 3 in my published app. My app targets Froyo at this point. The app works fine on tons of phones, but my new Galaxy Tab can't handle the internal links!! It can handle them within an html…
Mischa
  • 632
  • 6
  • 21
11
votes
2 answers

How can I add additional arguments to methods for internal generics?

I want to implement an inset method for my class myClass for the internal generic [<- (~ help(Extract)). This method should run a bunch of tests, before passing on the actual insetting off to [<- via NextMethod(). I understand that: any method has…
maxheld
  • 3,963
  • 2
  • 32
  • 51
11
votes
4 answers

How do I access a private constructor in a separate class?

I'm writing a library in C++. I have two classes in my library, A and B. I want to hide the A() constructor from any code that references my library. I also want class B to be able to call the A() constructor. I come from a C# background and…
user2023861
  • 8,030
  • 9
  • 57
  • 86
1 2
3
49 50