Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:PH_NUM
(Results
1 - 1
of
1
) sorted by relevance
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/
H
A
D
sem_philosopher.c
24
#define
PH_NUM
5
macro
30
static sem_t ph[
PH_NUM
];
33
static int state[
PH_NUM
];
51
preID =
PH_NUM
+ (ID - 1);
in test()
53
preID = (ID - 1) %
PH_NUM
;
in test()
55
if ((ID + 1) >=
PH_NUM
)
in test()
56
postID = ID + 1 -
PH_NUM
;
in test()
58
postID = (ID + 1) %
PH_NUM
;
in test()
100
prePH =
PH_NUM
+ (PhID - 1);
in philosopher()
102
prePH = (PhID - 1) %
PH_NUM
;
in philosopher()
[all...]
Completed in 1 milliseconds