Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 709 for opens (0.02 seconds)

  1. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

                return 0;
            }
            final long start = fp;
    
            if (tmp == null) {
                throw new IOException("Bad file descriptor");
            }
            // ensure file is open
            file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0);
    
            /*
             * Read AndX Request / Response
             */
    
            if (LogStream.level >= 4) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. internal/lock/lock_windows.go

    	f, err := Open(path, flag, perm)
    	if err != nil {
    		return nil, err
    	}
    
    	if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	st, err := os.Stat(path)
    	if err != nil {
    		f.Close()
    		return nil, err
    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. internal/ioutil/append-file_windows.go

    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	appendFile, err := lock.Open(dst, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := lock.Open(src, os.O_RDONLY, 0o666)
    	if err != nil {
    		return err
    	}
    	defer srcFile.Close()
    	_, err = io.Copy(appendFile, srcFile)
    	return err
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 1.2K bytes
    - Click Count (0)
  4. docs/zh/docs/advanced/events.md

    此处,`shutdown` 事件处理器函数会向文件 `log.txt` 写入一行文本 `"Application shutdown"`。
    
    /// info | 信息
    
    在 `open()` 函数中,`mode="a"` 指的是“追加”。因此这行文本会添加在文件已有内容之后,不会覆盖之前的内容。
    
    ///
    
    /// tip | 提示
    
    注意,本例使用 Python 标准的 `open()` 函数与文件交互。
    
    这个函数执行 I/O(输入/输出)操作,需要“等待”内容写进磁盘。
    
    但 `open()` 不使用 `async` 和 `await`。
    
    因此,声明事件处理函数要使用 `def`,而不是 `async def`。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  5. docs/de/docs/how-to/configure-swagger-ui.md

    # Swagger-Oberfläche konfigurieren { #configure-swagger-ui }
    
    Sie können einige zusätzliche [Parameter der Swagger-Oberfläche](https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/) konfigurieren.
    
    Um diese zu konfigurieren, übergeben Sie das Argument `swagger_ui_parameters` beim Erstellen des `FastAPI()`-App-Objekts oder an die Funktion `get_swagger_ui_html()`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/websockets.md

    <div class="termy">
    
    ```console
    $ fastapi dev
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Open your browser at [http://127.0.0.1:8000](http://127.0.0.1:8000).
    
    You will see a simple page like:
    
    <img src="/img/tutorial/websockets/image01.png">
    
    You can type messages in the input box, and send them:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/common/admin/sidebar.jsp

    			<li class="nav-item has-treeview <c:if test="${param.menuCategoryType=='system'}">menu-open</c:if>">
    				<a href="#" class="nav-link <c:if test="${param.menuCategoryType=='system'}">active</c:if>">
    					<i class='nav-icon fa fa-laptop' aria-hidden="true"></i>
    					<p>
    						<la:message key="labels.menu_system" />
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 21K bytes
    - Click Count (0)
  8. tests/error_translator_test.go

    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    	if !errors.Is(err, untranslatedErr) {
    		t.Fatalf("expected err: %v got err: %v", untranslatedErr, err)
    	}
    
    	// it should translate error when the TranslateError flag is true
    	db, _ = gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr}, &gorm.Config{TranslateError: true})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    Un **context manager** en Python es algo que puedes usar en un statement `with`, por ejemplo, `open()` puede ser usado como un context manager:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    En versiones recientes de Python, también hay un **async context manager**. Lo usarías con `async with`:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/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?,
      ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
Back to Top