搜索

大约有 6 项符合查询结果, 库内数据总量为 3,513 项。 (搜索耗时:0.0979秒)

1.XSServer::write

... } $len -= $bytes; $buf = substr($buf, $bytes); } // error occured if ($bytes === false || $bytes === 0) { $meta = stream_get_meta_data($this->_sock); $this->close(true); $reason = $meta['timed_out'] ? 'timeout' : ($meta['eof'] ? 'closed' : 'unknown'); ...

2.XSServer::read

...ytes; if ($len === 0) { return $buf; } } // error occured $meta = stream_get_meta_data($this->_sock); $this->close(true); $reason = $meta['timed_out'] ? 'timeout' : ($meta['eof'] ? 'closed' : 'unknown'); $msg = 'Failed to recv the data from server completel...

3.XSJsonDataSource

... if (!is_array($item) || count($item) === 0) { switch (json_last_error()) { case JSON_ERROR_DEPTH: $error = ' - Maximum stack depth exceeded'; break; case JSON_ERROR_CTRL_CHAR: $error = ' - Unexpected control character foun...

4.XSServer::connect

... $port = -1; } if (($sock = @fsockopen($host, $port, $errno, $error, 5)) === false) { throw new XSException($error . '(C#' . $errno . ', ' . $host . ':' . $port . ')'); } // set socket options $timeout = ini_get('max_execution_time'); $timeout = $timeout > 0 ? ($timeo...

5.XSServer

... $port = -1; } if (($sock = @fsockopen($host, $port, $errno, $error, 5)) === false) { throw new XSException($error . '(C#' . $errno . ', ' . $host . ':' . $port . ')'); } // set socket options $timeout = ini_get('max_execution_time'); $timeout = $timeout > 0 ? ($timeo...

6.XSCsvDataSource

...) { if ($this->inCli) { echo "INFO: reach end of file or error occured, total lines: " . $this->line . "\n"; } return false; } $this->line++; if (count($item) === 1 && is_null($item[0])) { if ($this->inCli) { echo "WARNING: invalid csv line ...

  • 时间不限
  • 按相关性排序