Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 491 for Popen (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_request_files/test_tutorial001.py

                    "input": None,
                }
            ]
        }
    
    
    def test_post_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
            response = client.post("/files/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"file_size": 14}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. .teamcity/src/main/kotlin/configurations/BaseGradleBuildType.kt

    import common.Os
    import jetbrains.buildServer.configs.kotlin.BuildType
    import model.Stage
    
    open class BaseGradleBuildType(
        open val stage: Stage? = null,
        open val failStage: Boolean = true,
        init: BaseGradleBuildType.() -> Unit = {},
    ) : BuildType() {
        init {
            this.init()
        }
    }
    
    open class OsAwareBaseGradleBuildType(
        val os: Os,
        override val stage: Stage? = null,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 560 bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/SortedMultisets.java

          return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> headSet(@ParametricNullness E toElement) {
          return multiset().headMultiset(toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. src/main/webapp/js/admin/adminlte.min.js

    eview",At=n.default.fn[Dt],Mt=".nav-item",qt=".nav-treeview",Ot=".menu-open",Nt='[data-widget="treeview"]',Pt="menu-open",Ut="menu-is-opening",Bt={trigger:Nt+" .nav-link",animationSpeed:300,accordion:!0,expandSidebar:!1,sidebarButtonSelector:'[data-widget="pushmenu"]'},$t=function(){function e(e,t){this._config=t,this._element=e}var t=e.prototype;return t.init=function(){n.default(".nav-item.menu-open .nav-treeview.menu-open").css("display","block"),this._setupListeners()},t.expand=function(e,t){var...
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 45.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/SmbConstants.java

         */
        int TYPE_COMM = 0x40;
    
        /* open flags */
    
        /**
         * Open for reading only.
         */
        int O_RDONLY = 0x01;
        /**
         * Open for writing only.
         */
        int O_WRONLY = 0x02;
        /**
         * Open for reading and writing.
         */
        int O_RDWR = 0x03;
        /**
         * Open in append mode.
         */
        int O_APPEND = 0x04;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py39.py hl[1,13] *}
    
    A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    In recent versions of Python, there's also an **async context manager**. You would use it with `async with`:
    
    ```Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py39.py hl[1,13] *}
    
    Um **gerenciador de contexto** em Python é algo que você pode usar em uma declaração `with`, por exemplo, `open()` pode ser usado como um gerenciador de contexto:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    Em versões mais recentes do Python, há também um **gerenciador de contexto assíncrono**. Você o usaria com `async with`:
    
    ```Python
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.4K bytes
    - Click Count (1)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      open fun onEvent(
        eventSource: EventSource,
        id: String?,
        type: String?,
        data: String,
      ) {
      }
    
      /**
       * No further calls to this listener will be made.
       */
      open fun onClosed(eventSource: EventSource) {
      }
    
      /**
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

            If you found a clear typo, please open a PR with a fix instead of opening an issue.
    
      - type: dropdown
        id: issue-type
        attributes:
          label: Issue type
          options:
            - Wrong or misleading information
            - Missing information
            - Styling or Accessibility
            - Typo (please open a PR instead)
        validations:
          required: true
      - type: textarea
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jan 15 10:01:01 GMT 2024
    - 1.6K bytes
    - Click Count (0)
Back to Top