Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 698 for Open (0.02 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip

    (number.test(columns[j]) ? " align=\"right\">" : ">") + columns[j] + "</td>"; } text += "</tr>"; } } text += "</table>"; } showText(text); } function showText(text) { list = window.open("", "list", "dependent=yes,location=no,menubar=yes,resizable=yes,toolbar=no,scrollbars=yes,width=500,height=400"); list.document.close(); list.document.open(); list.document.write("<html><head><style type=\"text/css\">"); list.document.write("body { font-family:Helvetica,Arial,sans-serif; } "); list.document.write(".link { c...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 23.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    and Alice's first thought was that it might belong to one of the
    doors of the hall; but, alas! either the locks were too large, or
    the key was too small, but at any rate it would not open any of
    them.  However, on the second time round, she came upon a low
    curtain she had not noticed before, and behind it was a little
    door about fifteen inches high:  she tried the little golden key
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
  6. docs/fr/docs/how-to/configure-swagger-ui.md

    # Configurer Swagger UI { #configure-swagger-ui }
    
    Vous pouvez configurer des [paramètres supplémentaires de Swagger UI](https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/).
    
    Pour les configurer, passez l'argument `swagger_ui_parameters` lors de la création de l'objet d'application `FastAPI()` ou à la fonction `get_swagger_ui_html()`.
    
    `swagger_ui_parameters` reçoit un dictionnaire avec les configurations passées directement à Swagger UI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  7. docs/debugging/healing-bin/main.go

    			cli.ShowAppHelpAndExit(c, 1) // last argument is exit code
    		}
    
    		ht := make(map[string]map[string]any)
    		file := c.Args().Get(0)
    		if strings.HasSuffix(file, ".zip") {
    			var sz int64
    			f, err := os.Open(file)
    			if err != nil {
    				return err
    			}
    			if st, err := f.Stat(); err == nil {
    				sz = st.Size()
    			}
    			defer f.Close()
    			zr, err := zip.NewReader(f, sz)
    			if err != nil {
    				return err
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. docs/ru/docs/deployment/cloud.md

    Он переносит тот же **опыт разработчика** создания приложений с FastAPI на их **развертывание** в облаке. 🎉
    
    FastAPI Cloud — основной спонсор и источник финансирования для open source проектов *FastAPI and friends*. ✨
    
    ## Облачные провайдеры — спонсоры { #cloud-providers-sponsors }
    
    Некоторые другие облачные провайдеры ✨ [**спонсируют FastAPI**](../help-fastapi.md#sponsor-the-author) ✨ тоже. 🙇
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      private static final class TimedPutQueue {
        final BlockingQueue<String> queue;
        final Completion completed;
    
        /**
         * Creates a {@link EnableWrites} which open up a spot for a {@code put} to succeed in {@code
         * countdownInMillis}.
         */
        static TimedPutQueue createWithDelay(long countdownInMillis) {
          return new TimedPutQueue(countdownInMillis);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  10. internal/ioutil/append-file_nix.go

    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := os.Open(src)
    	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.3K bytes
    - Click Count (0)
Back to Top