View curl_multi_the_correct_way.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// .... | |
function processCurlMulti($curl_session_multi) { | |
do { | |
$mrc = curl_multi_exec($curl_session_multi, $n_running_channel); | |
} while ($mrc == CURLM_CALL_MULTI_PERFORM || $n_running_channel > 0); | |
$n_idle = 0; | |
while ($mrc == CURLM_OK && $n_idle <= MAX_WAIT_CYCLES) { |
View JSNestingRulesProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.intellij.lang.javascript.projectView; | |
import com.intellij.ide.projectView.ProjectViewNestingRulesProvider; | |
import com.intellij.ide.projectView.ProjectViewNestingRulesProvider.Consumer; | |
import org.jetbrains.annotations.NotNull; | |
public class JSNestingRulesProvider | |
implements ProjectViewNestingRulesProvider | |
{ | |
public void addFileNestingRules(@NotNull ProjectViewNestingRulesProvider.Consumer consumer) |