|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 27.58 GB of 70.42 GB (39.17%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
src/
courier-0.66.1/
unicode/
- drwxrwxrwx
|
Viewing file: unicode_tablookup.c (902 B) -rw-rw-rw-Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
/* ** Copyright 2011 Double Precision, Inc. ** See COPYING for distribution information. ** */
#include "unicode_config.h" #include "unicode.h"
#define BLOCK_SIZE 256
uint8_t unicode_tab_lookup(unicode_char ch, const size_t *unicode_indextab, size_t unicode_indextab_sizeof, const uint8_t (*unicode_rangetab)[2], const uint8_t *unicode_classtab, uint8_t uclass) { size_t cl=ch / BLOCK_SIZE;
if (cl < unicode_indextab_sizeof-1) { const size_t start_pos=unicode_indextab[cl]; const uint8_t (*p)[2]=unicode_rangetab + start_pos; size_t b=0, e=unicode_indextab[cl+1] - start_pos; uint8_t chmodcl= ch & (BLOCK_SIZE-1);
while (b < e) { size_t n=b + (e-b)/2;
if (chmodcl >= p[n][0]) { if (chmodcl <= p[n][1]) { uclass=unicode_classtab[start_pos+n]; break; } b=n+1; } else { e=n; } } }
return uclass; }
|