Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 229 for existence (0.27 seconds)

  1. cmd/os-readdir_test.go

    	"fmt"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"testing"
    )
    
    // Test to check for different input arguments.
    func TestReadDirFail(t *testing.T) {
    	// Check non existent directory.
    	if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    	file := path.Join(os.TempDir(), "issue")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/handling-errors.md

    # Manejo de Errores { #handling-errors }
    
    Existen muchas situaciones en las que necesitas notificar un error a un cliente que está usando tu API.
    
    Este cliente podría ser un navegador con un frontend, un código de otra persona, un dispositivo IoT, etc.
    
    Podrías necesitar decirle al cliente que:
    
    * El cliente no tiene suficientes privilegios para esa operación.
    * El cliente no tiene acceso a ese recurso.
    * El ítem al que el cliente intentaba acceder no existe.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  3. docs/fr/docs/history-design-future.md

    Pendant le développement, j'ai également contribué à [**Starlette**](https://www.starlette.dev/), l'autre exigence clé.
    
    ## Développement { #development }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. cmd/os-reliable.go

    		switch {
    		case isSysErrNotDir(err) && !osIsNotExist(err):
    			// Windows can have both isSysErrNotDir(err) and osIsNotExist(err) returning
    			// true if the source file path contains an non-existent directory. In that case,
    			// we want to return errFileNotFound instead, which will honored in subsequent
    			// switch cases
    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNull(result);
        }
    
        @Test
        void testGetByNameWithNonExistentFile() {
            // Test with non-existent file
            when(mockConfig.getLmHostsFileName()).thenReturn("/non/existent/lmhosts");
    
            NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
    
            assertNull(result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            assertEquals("script for engine2", engine2.getLastScript());
        }
    
        @Test
        public void test_execute_withInvalidScriptType() {
            // Try to execute with non-existent script type
            try {
                scriptExecutor.execute("nonexistent", "some script");
                fail("Expected ScriptEngineException");
            } catch (ScriptEngineException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

        @Test
        public void test_propertyNotFound() {
            try {
                fessConfig.get("non.existent.property");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
                assertEquals("non.existent.property", e.getMessage());
            }
        }
    
        // Test isExtensionAllowed method
        /*
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertEquals("12.2.0", result.getVersion());
        }
    
        @Test
        public void test_getArtifact_notFound() {
            Artifact result = pluginHelper.getArtifact("non-existent", "1.0.0");
            assertNull(result);
        }
    
        @Test
        public void test_getArtifact_nullInputs() {
            assertNull(pluginHelper.getArtifact(null, "1.0.0"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  9. docs/es/docs/history-design-future.md

    Por ejemplo, estaba claro que idealmente debería estar basado en las anotaciones de tipos estándar de Python.
    
    También, el mejor enfoque era usar estándares ya existentes.
    
    Entonces, antes de siquiera empezar a programar **FastAPI**, pasé varios meses estudiando las especificaciones de OpenAPI, JSON Schema, OAuth2, etc. Entendiendo su relación, superposición y diferencias.
    
    ## Diseño { #design }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. docs/pt/docs/history-design-future.md

    Por exemplo, estava claro que idealmente ele deveria ser baseado nas anotações de tipo padrão do Python.
    
    Também, a melhor abordagem era usar padrões já existentes.
    
    Então, antes mesmo de começar a codificar o **FastAPI**, eu investi vários meses estudando as especificações do OpenAPI, JSON Schema, OAuth2 etc. Entendendo suas relações, sobreposições e diferenças.
    
    ## Design { #design }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.4K bytes
    - Click Count (0)
Back to Top