Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 790 for acceptX (0.08 seconds)

  1. docs/ru/docs/tutorial/background-tasks.md

    * Обработка данных:
        * Например, если вы получаете файл, который должен пройти через медленный процесс, вы можете вернуть ответ «Accepted» (HTTP 202) и обработать файл в фоне.
    
    ## Использование `BackgroundTasks` { #using-backgroundtasks }
    
    Сначала импортируйте `BackgroundTasks` и объявите параметр в вашей функции‑обработчике пути с типом `BackgroundTasks`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/asm/testdata/amd64.s

    	JMP	(AX)(AX*4)
    	JCS	2(PC)
    	JMP	R13
    
    // LTYPEN spec4	{ outcode($1, &$2); }
    	NOP
    	NOP	AX
    	NOP	foo+4(SB)
    
    // LTYPES spec5	{ outcode($1, &$2); }
    	SHLL	CX, R12
    	SHLL	CX, foo+4(SB)
    	// Old syntax, still accepted:
    	SHLL	CX, R11:AX // SHLL CX, AX, R11
    
    // LTYPEM spec6	{ outcode($1, &$2); }
    	MOVL	AX, R11
    	MOVL	$4, R11
    //	MOVL	AX, 0(AX):DS // no longer works - did it ever?
    
    // LTYPEI spec7	{ outcode($1, &$2); }
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Apr 09 18:57:21 GMT 2019
    - 3.3K bytes
    - Click Count (0)
  3. cmd/mrf.go

    		return
    	}
    
    	m.wg.Add(1)
    	defer m.wg.Done()
    
    	if atomic.LoadInt32(&m.closing) == 1 {
    		return
    	}
    
    	select {
    	case m.opCh <- op:
    	default:
    	}
    }
    
    // Do not accept new MRF operations anymore and start to save
    // the current heal status in one available disk
    func (m *mrfState) shutdown() {
    	atomic.StoreInt32(&m.closing, 1)
    	m.wg.Wait()
    	close(m.opCh)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/events.md

    Dans notre exemple de code ci-dessus, nous ne l'utilisons pas directement, mais nous le transmettons à FastAPI pour qu'il l'utilise.
    
    Le paramètre `lifespan` de l'application `FastAPI` accepte un **gestionnaire de contexte asynchrone**, nous pouvons donc lui passer notre nouveau gestionnaire de contexte asynchrone `lifespan`.
    
    {* ../../docs_src/events/tutorial003_py310.py hl[22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/schema-extra-example.md

    Ces informations supplémentaires seront ajoutées telles quelles au **JSON Schema** de sortie pour ce modèle, et elles seront utilisées dans la documentation de l'API.
    
    Vous pouvez utiliser l'attribut `model_config` qui accepte un `dict` comme décrit dans [Documentation de Pydantic : Configuration](https://docs.pydantic.dev/latest/api/config/).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  6. internal/bpool/bpool_test.go

    	if len(bp.c) > 0 {
    		t.Fatal("bytepool should have rejected invalid packets")
    	}
    
    	// Try putting a short slice into pool
    	bp.Put(make([]byte, bp.w, bp.wcap)[:2])
    	if len(bp.c) != 1 {
    		t.Fatal("bytepool should have accepted short slice with sufficient capacity")
    	}
    
    	b = bp.Get()
    	if len(b) != width {
    		t.Fatalf("bytepool length invalid: got %v want %v", len(b), width)
    	}
    
    	// Close the channel.
    	close(bp.c)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      fun regularResponse() {
        server.enqueue(MockResponse().setBody("hello world"))
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setRequestProperty("Accept-Language", "en-US")
        val inputStream = connection.inputStream
        val reader = BufferedReader(InputStreamReader(inputStream, StandardCharsets.UTF_8))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/background-tasks.md

    * Traiter des données :
        * Par exemple, si vous recevez un fichier qui doit passer par un traitement lent, vous pouvez retourner une réponse « Accepted » (HTTP 202) puis faire le traitement en arrière-plan.
    
    ## Utiliser `BackgroundTasks` { #using-backgroundtasks }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          apply {
            this.followSslRedirects = followProtocolRedirects
          }
    
        /**
         * Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to
         * outgoing HTTP requests.
         *
         * If unset, [no cookies][CookieJar.NO_COOKIES] will be accepted nor provided.
         */
        fun cookieJar(cookieJar: CookieJar) =
          apply {
            this.cookieJar = cookieJar
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 51.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle null configuration gracefully")
        void testNullConfiguration() {
            // When - constructor accepts null config without throwing
            Smb2TreeDisconnectResponse responseWithNull = new Smb2TreeDisconnectResponse(null);
    
            // Then - response is created successfully
            assertNotNull(responseWithNull);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
Back to Top