Do not use! This tag has multiple meanings depending context. If you are looking for the restrict keyword in C-like languages use [restrict-qualifier] instead.
Questions tagged [restrict]
353 questions
-2
votes
2 answers
Why is saving a restricted pointer's value not giving undefined behavior?
I am programming a virtual machine and I've made a union of restricted pointers to iterate the script's instruction stream:
union Pointer {
uint8_t *restrict UInt8Ptr;
uint16_t *restrict UInt16Ptr;
uint32_t *restrict UInt32Ptr;
…

Nergal
- 349
- 3
- 14
-2
votes
1 answer
Javascript validation to accept only utf-8 characters
I have a form and I want that form's input fields should accept only UTF-8 character.I have no idea how can i achieve this.Following is my html form .Any help !! Thanks in advance..
-2
votes
1 answer
Banned words but not if with more words
I find solution, to ban some words if they are entered in input field.
The problem is that i need ban them only when somebody use them as single word, not when are entered with more words.
Example:
If %bannedword% was entered then ERROR must show…

X9DESIGN
- 774
- 1
- 10
- 23
-2
votes
1 answer
Java program to restrict websites
I WANT TO WRITE A PROGRAM IN JAVA THAT RESTRICTS CERTAIN WEBSITES FROM BEING OPEN IN MY BROWSER... how can i do that ? or is it even can be done in java (concerning JVM i mean)

Exorcismus
- 2,243
- 1
- 35
- 68
-3
votes
1 answer
how can I publish an android app with android.permission.READ_CALL_LOG?
I have an android app to analyse data of calls using android.permission.READ_CALL_LOG but I got no way to upload it how can I do this.

abdo ts
- 1
- 1
-3
votes
1 answer
Regular expression to restrict ascii characters
I need to create a regular expression to restrict the following characters in an input field for my Java web application,
Ascii control characters(0 to 31)
Extended ascii characters ranging from 169 to 255(excluding 224 and
225).
Could any one…

Anil
- 1
- 1
-3
votes
2 answers
Use Oauth2 token in my classview to allow some user access only his own user data?
I use a token to retrieve user data in a mobile App. But...if a user has authenticated can access the data of another users....How I restrict that only the own user token access to the own user data in the model Users? (Sorry my bad english)

Marco Duarte
- 41
- 4
-5
votes
1 answer
how to restrict access to admin folder except logged user
I have folder /admin/index.php
how to restrict access to that folder except logged user.
I try to restrict access with .htaccess but it restrict access at all

Sasa Jovic
- 33
- 1
- 10