Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 398 for olen (0.03 sec)

  1. docs/zh/docs/advanced/events.md

    {!../../docs_src/events/tutorial002.py!}
    ```
    
    此处,`shutdown` 事件处理器函数在 `log.txt` 中写入一行文本 `Application shutdown`。
    
    /// info | "说明"
    
    `open()` 函数中,`mode="a"` 指的是**追加**。因此这行文本会添加在文件已有内容之后,不会覆盖之前的内容。
    
    ///
    
    /// tip | "提示"
    
    注意,本例使用 Python `open()` 标准函数与文件交互。
    
    这个函数执行 I/O(输入/输出)操作,需要等待内容写进磁盘。
    
    但 `open()` 函数不支持使用 `async` 与 `await`。
    
    因此,声明事件处理函数要使用 `def`,不能使用 `asnyc def`。
    
    ///
    
    /// info | "说明"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. .zenodo.json

    {
        "description": "TensorFlow is an end-to-end open source platform for machine learning. It has a comprehensive, flexible ecosystem of tools, libraries, and community resources that lets researchers push the state-of-the-art in ML and developers easily build and deploy ML-powered applications.",
        "license": "Apache-2.0",
        "title": "TensorFlow",
        "upload_type": "software",
        "creators": [
            {
                "name": "TensorFlow Developers"
            }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue May 18 19:19:25 UTC 2021
    - 741 bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      fun enqueueCancel() {
        cancel = true
      }
    
      override fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
        get().log("[ES] onOpen", Platform.INFO, null)
        events.add(Open(eventSource, response))
        drainCancelQueue(eventSource)
      }
    
      override fun onEvent(
        eventSource: EventSource,
        id: String?,
        type: String?,
        data: String,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. cmd/os-instrumented.go

    // os.Lstat()
    func Access(name string) (err error) {
    	defer updateOSMetrics(osMetricAccess, name)(err)
    	return access(name)
    }
    
    // Open captures time taken to call os.Open
    func Open(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricOpen, name)(err)
    	return os.Open(name)
    }
    
    // OpenFileDirectIO captures time taken to call disk.OpenFileDirectIO
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        private static final Logger log = LoggerFactory.getLogger(SmbFileHandleImpl.class);
    
        private final Configuration cfg;
        private final int fid;
        private final byte[] fileId;
        private boolean open = true;
        private final long tree_num; // for checking whether the tree changed
        private SmbTreeHandleImpl tree;
    
        private final AtomicLong usageCount = new AtomicLong(1);
        private final int flags;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (1)
  6. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/Dispatcher.kt

    abstract class Dispatcher {
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      open fun peek(): MockResponse {
        return MockResponse().apply { this.socketPolicy = SocketPolicy.KEEP_OPEN }
      }
    
      open fun shutdown() {}
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 18 12:55:43 UTC 2020
    - 909 bytes
    - Viewed (0)
  7. docs/tr/docs/advanced/index.md

    Ayrıca, size **iyi bir öğrenme deneyimi** sağlamakla kalmayıp, **iyi ve sağlıklı bir framework** olan FastAPI'a ve ve **topluluğuna** (yani size) olan gerçek bağlılıklarını gösterir.
    
    Onların kurslarını denemek isteyebilirsiniz:
    
    * <a href="https://training.talkpython.fm/fastapi-courses" class="external-link" target="_blank">Talk Python Training</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

         */
    
        static final int FILE_SUPERSEDE    = 0x0;
    
        /* Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN         = 0x1;
    
        /* Create the file or fail if it does not exist
         * aka CREATE_NEW
         */
    
        static final int FILE_CREATE       = 0x2;
    
        /* Open the file or create it if it does not exist
         * aka OPEN_ALWAYS
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
      open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase()
    
      protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!!
    
      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     *         SmbNamedPipe.PIPE_TYPE_CALL );
     * </pre></td><td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td></tr>
     * <tr><td width="20%"><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_TRANSACT );
     * </pre></td><td>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
Back to top