Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 234 for existed (0.06 seconds)

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

  1. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
            assertEquals("text", fileTypeHelper.get("text/plain"));
    
            // Test non-existent mimetype returns default value
            assertEquals("others", fileTypeHelper.get("non/existent"));
        }
    
        @Test
        public void test_get_withNullMimetype() {
            assertEquals("others", fileTypeHelper.get(null));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  2. docs/pt/docs/index.md

        * ReDoc.
    
    ---
    
    Voltando ao código do exemplo anterior, **FastAPI** irá:
    
    * Validar que existe um `item_id` no path para requisições `GET` e `PUT`.
    * Validar que `item_id` é do tipo `int` para requisições `GET` e `PUT`.
        * Se não for, o cliente verá um erro útil e claro.
    * Verificar se existe um parâmetro query opcional nomeado como `q` (como em `http://127.0.0.1:8000/items/foo?q=somequery`) para requisições `GET`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/bigger-applications.md

    │   ├── dependencies.py
    │   └── routers
    │   │   ├── __init__.py
    │   │   ├── items.py
    │   │   └── users.py
    │   └── internal
    │       ├── __init__.py
    │       └── admin.py
    ```
    
    /// tip | Dica
    
    Existem vários arquivos `__init__.py`: um em cada diretório ou subdiretório.
    
    Isso permite a importação de código de um arquivo para outro.
    
    Por exemplo, no arquivo `app/main.py`, você poderia ter uma linha como:
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        // Running at time 50, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(50L)).isEqualTo(100L)
        assertThat(pool.connectionCount()).isEqualTo(1)
        assertThat(c1.socket().isClosed).isFalse()
    
        // Running at time 60, the pool returns that nothing can be evicted until time 150.
        assertThat(pool.closeConnections(60L)).isEqualTo(90L)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. docs/fr/docs/how-to/testing-database.md

    # Tester une base de données { #testing-a-database }
    
    Vous pouvez étudier les bases de données, SQL et SQLModel dans les [documents SQLModel](https://sqlmodel.tiangolo.com/). 🤓
    
    Il existe un mini [tutoriel sur l'utilisation de SQLModel avec FastAPI](https://sqlmodel.tiangolo.com/tutorial/fastapi/). ✨
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 447 bytes
    - Click Count (0)
  6. tests/lru_test.go

    	lc.Add("key1", nil)
    
    	value, exists := lc.Get("key1")
    	if value != nil || !exists {
    		t.Fatalf("unexpected value or existence flag for key1: value=%v, exists=%v", value, exists)
    	}
    
    	// Adding an entry with the same key but different value
    	newVal := "val1"
    	lc.Add("key1", &newVal)
    
    	value, exists = lc.Get("key1")
    	if value != &newVal || !exists {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

        public void test_get_nullProperty() {
            // Test getting non-existent property
            try {
                fessConfig.get("non.existent.property");
                fail("Should throw exception for non-existent property");
            } catch (ConfigPropertyNotFoundException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // Test operations on empty service
            assertEquals(0, mockService.getRegistrationCount());
            assertFalse(mockService.hasRegistration("non-existent"));
            assertFalse(mockService.unregisterWitness("non-existent"));
            assertFalse(mockService.processHeartbeat("non-existent", 1));
    
            // Test registration with null/empty values
            String regId1 = mockService.registerWitness(null, "192.168.1.100", 1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/openapi-webhooks.md

    # Webhooks OpenAPI { #openapi-webhooks }
    
    Il existe des cas où vous voulez informer les utilisateurs de votre API que votre application peut appeler leur application (en envoyant une requête) avec des données, généralement pour notifier un type d'événement.
    
    Cela signifie qu'au lieu du processus habituel où vos utilisateurs envoient des requêtes à votre API, c'est votre API (ou votre application) qui peut envoyer des requêtes vers leur système (vers leur API, leur application).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/security/simple-oauth2.md

    Ambas dependencias solo devolverán un error HTTP si el usuario no existe, o si está inactivo.
    
    Así que, en nuestro endpoint, solo obtendremos un usuario si el usuario existe, fue autenticado correctamente, y está activo:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.2K bytes
    - Click Count (0)
Back to Top