検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 71 for reverse (0.040 sec.)
Add a background task to be run in parallel 9066
« GearmanClient::addTask GearmanClient::addTaskHigh » PHP Manual GearmanClient Add a background ... can track progress $gmc -> setCompleteCallback ( "reverse_complete" ); $gmc -> setStatusCallback ( "reverse_ ... status" ); # add a task for the "reverse" function $task = $gmc -> addTask ( "reverse" , "H ... he background $task = $gmc -> addTaskBackground ( "reverse" , "!dlroW olleH" , null , "2" ); if (! $gmc -> ru ... error () . "\n" ; exit; } echo "DONE\n" ; function reverse_status ( $task ) { echo "STATUS: " . $task -> uniq ...
https://man.plustar.jp/php/gearmanclient.addtaskbackground.html - [similar]
Add a task to be run in parallel 8771
« GearmanClient::addServers GearmanClient::addTaskBackground » PHP Manual GearmanClient Add a ta ... lback ( "complete" ); # add a task to perform the "reverse" function on the string "Hello World!" $gmclient - ... > addTask ( "reverse" , "Hello World!" , null , "1" ); # add another ta ... sk to perform the "reverse" function on the string "!dlroW olleH" $gmclient - ... > addTask ( "reverse" , "!dlroW olleH" , null , "2" ); # run the tasks ...
https://man.plustar.jp/php/gearmanclient.addtask.html - [similar]
要素を逆順にした配列を返す 8672
« array_replace array_search » PHP Manual 配列 関数 要素を逆順にした配列を返す array_reverse (PH ... P 4, PHP 5, PHP 7, PHP 8) array_reverse — 要素を逆順にした配列を返す 説明 array_reverse ( ... す。 戻り値 逆転させた配列を返します。 例 例1 array_reverse() の例 <?php $input = array( "php" , 4.0 , array( ... "green" , "red" )); $reversed = array_reverse ( $input ); $preserved = array_re ... ( $input , true ); print_r ( $input ); print_r ( $reversed ); print_r ( $preserved ); ?> 上の例の出力は以下と ...
https://man.plustar.jp/php/function.array-reverse.html - [similar]
Register and add callback function 8279
« GearmanWorker GearmanWorker::addOptions » PHP Manual GearmanWorker Register and add callback f ... e to hold application data $count = 0 ; # add the "reverse" function $worker -> addFunction ( "reverse" , "re ... t the worker while ( $worker -> work ()); function reverse_cb ( $job , & $count ) { $count ++; return " $coun ... ?> Running a client that submits two jobs for the reverse function would have output similar to the followin ...
https://man.plustar.jp/php/gearmanworker.addfunction.html - [similar]
Wait for and perform jobs 7997
« GearmanWorker::wait GearmanException » PHP Manual GearmanWorker Wait for and perform jobs Gear ... ver (localhost) $worker -> addServer (); # add the reverse function $worker -> addFunction ( "reverse" , "my_ ... bmissions while ( $worker -> work ()); function my_reverse_function ( $job ) { return strrev ( $job -> worklo ...
https://man.plustar.jp/php/gearmanworker.work.html - [similar]
Add a high priority task to run in parallel 7801
« GearmanClient::addTaskBackground GearmanClient::addTaskHighBackground » PHP Manual GearmanClie ... the job is complete $gmc -> setCompleteCallback ( "reverse_complete" ); # add tasks, one of which is high pri ... ority $task = $gmc -> addTask ( "reverse" , "Hello World!" , null , "1" ); $task = $gmc -> ... addTaskHigh ( "reverse" , "!dlroW olleH" , null , "2" ); $task = $gmc -> ... addTask ( "reverse" , "Hello World!" , null , "3" ); if (! $gmc -> ru ...
https://man.plustar.jp/php/gearmanclient.addtaskhigh.html - [similar]
Add a low priority task to run in parallel 7801
« GearmanClient::addTaskHighBackground GearmanClient::addTaskLowBackground » PHP Manual GearmanC ... the job is complete $gmc -> setCompleteCallback ( "reverse_complete" ); # add tasks, one of which is low prio ... rity $task = $gmc -> addTask ( "reverse" , "Hello World!" , null , "1" ); $task = $gmc -> ... addTaskLow ( "reverse" , "!dlroW olleH" , null , "2" ); $task = $gmc -> ... addTask ( "reverse" , "Hello World!" , null , "3" ); if (! $gmc -> ru ...
https://man.plustar.jp/php/gearmanclient.addtasklow.html - [similar]
Set socket I/O activity timeout 7702
« GearmanWorker::setOptions GearmanWorker::timeout » PHP Manual GearmanWorker Set socket I/O act ... ). $gmworker -> addServer (); # Register function "reverse" with the server. $gmworker -> addFunction ( "reve ... rse" , "reverse_fn" ); # Set the timeout to 5 seconds $gmworker -> ... de () . "\n" ; break; } } echo "Done\n" ; function reverse_fn ( $job ) { return strrev ( $job -> workload ()) ...
https://man.plustar.jp/php/gearmanworker.settimeout.html - [similar]
Wait for activity from one of the job servers 7646
« GearmanWorker::unregisterAll GearmanWorker::work » PHP Manual GearmanWorker Wait for activity ... ost, port 4730) $worker -> addServer (); # Add our reverse function $worker -> addFunction ( 'reverse' , 'rev ... r Error: " . $worker -> error () . "\n" ; function reverse_fn ( $job ) { return strrev ( $job -> workload ()) ...
https://man.plustar.jp/php/gearmanworker.wait.html - [similar]
Add a task to get status 7505
« GearmanClient::addTaskLowBackground GearmanClient::clearCallbacks » PHP Manual GearmanClient A ... y(); $handles [ 0 ] = $gmclient -> doBackground ( "reverse" , "Hello World!" ); $handles [ 1 ] = $gmclient -> ... doBackground ( "reverse" , "!dlroW olleH" ); $gmclient -> setStatusCallbac ... k ( "reverse_status" ); /* Poll the server to see when those ba ... n" ; sleep ( 1 ); } while ( $done != 2 ); function reverse_status ( $task , $done ) { if (! $task -> isKnown ...
https://man.plustar.jp/php/gearmanclient.addtaskstatus.html - [similar]
PREV 1 2 3 4 5 6 7 8 NEXT