Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1581 - 1590 of 2,914 for math (0.04 seconds)

  1. docs/en/docs/reference/response.md

    # `Response` class
    
    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    Read more about it in the [FastAPI docs about returning a custom Response](https://fastapi.tiangolo.com/advanced/response-directly/#returning-a-custom-response)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:41:54 GMT 2026
    - 559 bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        }
    
        private static class TestServletContext implements ServletContext {
            File parentFile = new File("/test/webapp");
    
            @Override
            public String getRealPath(String path) {
                if (path != null && path.contains("WEB-INF")) {
                    return new File(parentFile, "WEB-INF").getAbsolutePath();
                }
                return parentFile.getAbsolutePath();
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/transport/RequestTest.java

            when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost);
    
            int actualCreditCost = mockRequest.getCreditCost();
    
            assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
        void testSetRequestCredits() {
            // Test case for setRequestCredits method
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java

            String classpath = System.getProperty("java.class.path");
            String path =
                    System.getProperty("java.home") + separator + "bin" + separator + (Os.IS_WINDOWS ? "java.exe" : "java");
            ProcessBuilder processBuilder =
                    new ProcessBuilder(path, "-cp", classpath, CIDetectorHelperRunner.class.getName());
            processBuilder.environment().putAll(add);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. docs/tr/docs/how-to/extending-openapi.md

    Bir `FastAPI` uygulamasının (instance) OpenAPI şemasını döndürmesi beklenen bir `.openapi()` metodu vardır.
    
    Uygulama nesnesi oluşturulurken, `/openapi.json` (ya da `openapi_url` için ne ayarladıysanız o) için bir *path operation* kaydedilir.
    
    Bu path operation, uygulamanın `.openapi()` metodunun sonucunu içeren bir JSON response döndürür.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

                reporting.setOutputDirectory(alignToBaseDirectory(reporting.getOutputDirectory(), basedir));
            }
        }
    
        private String alignToBaseDirectory(String path, File basedir) {
            return pathTranslator.alignToBaseDirectory(path, basedir);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/using-request-directly.md

    /// tip | Dica
    
    Note que neste caso, nós estamos declarando o parâmetro de path ao lado do parâmetro da requisição.
    
    Assim, o parâmetro de path será extraído, validado, convertido para o tipo especificado e anotado com OpenAPI.
    
    Do mesmo jeito, você pode declarar qualquer outro parâmetro normalmente, e além disso, obter o `Request` também.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. internal/disk/stat_linux_32bit.go

    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    }
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/schema-extra-example.md

    Bu, OpenAPI’nin içerdiği JSON Schema’ların içine girmez; bunun yerine doğrudan *path operation* üzerinde, dışarıda yer alır.
    
    ### `openapi_examples` Parametresini Kullanma { #using-the-openapi-examples-parameter }
    
    FastAPI’de OpenAPI’ye özel `examples`’ı, şu araçlar için `openapi_examples` parametresiyle tanımlayabilirsiniz:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  10. docs/site-replication/run-ssec-object-replication-with-compression.sh

    	echo "BUG: Etag: '${rep_obj1_etag}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_etag}'"
    	exit_1
    fi
    if [ "${rep_obj1_size}" != "${src_obj1_size}" ]; then
    	echo "BUG: Size: '${rep_obj1_size}' of replicated object: 'minio2/test-bucket/encrypted' doesn't match with source value: '${src_obj1_size}'"
    	exit_1
    fi
    if [ "${rep_obj2_etag}" != "${src_obj2_etag}" ]; then
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.3K bytes
    - Click Count (0)
Back to Top