Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 454 for Totals (0.03 sec)

  1. src/main/java/jcifs/util/SimpleCircuitBreaker.java

         * Calculate success rate
         *
         * @return success rate (0.0 to 1.0)
         */
        private double getSuccessRate() {
            long total = totalCalls.get();
            if (total == 0) {
                return 1.0;
            }
            return (double) totalSuccesses.get() / total;
        }
    
        /**
         * Check if circuit breaker allows requests
         *
         * @return true if requests are allowed
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. tests/generics_test.go

    	}
    
    	total := 0
    	err := gorm.G[User](DB).Where("name like ?", "GenericsFindBatch%").FindInBatches(ctx, 2, func(chunk []User, batch int) error {
    		if len(chunk) > 2 {
    			t.Errorf("batch size exceed 2: got %d", len(chunk))
    		}
    
    		total += len(chunk)
    		return nil
    	})
    	if err != nil {
    		t.Fatalf("FindInBatches failed: %v", err)
    	}
    
    	if total != len(users) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes.go

    	BackendFS = BackendType(madmin.FS)
    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    // StorageInfo - represents total capacity of underlying storage.
    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    // used to report the histogram of objects data sizes
    type objectHistogramInterval struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the SMB_INFO_ALLOCATION information level used in SMB transaction requests.
     * This structure provides allocation information for a file system including total units,
     * free units, sectors per allocation unit, and bytes per sector.
     */
    public class SmbInfoAllocation implements AllocInfo {
    
        /**
         * Default constructor for SMB allocation information.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/openapi-callbacks.md

    ## An app with callbacks { #an-app-with-callbacks }
    
    Let's see all this with an example.
    
    Imagine you develop an app that allows creating invoices.
    
    These invoices will have an `id`, `title` (optional), `customer`, and `total`.
    
    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Then your API will (let's imagine):
    
    * Send the invoice to some customer of the external developer.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. android-test/src/androidTest/README.md

    ...
    11:55:40 I/XmlResultReporter: XML test result file generated at /Users/myusername/workspace/okhttp/android-test/build/outputs/androidTest-results/connected/TEST-pixel3a-Q(AVD) - 10-android-test-.xml. Total tests 13, passed 11, assumption_failure 1, ignored 1,
    ...
    BUILD SUCCESSFUL in 1m 30s
    63 actionable tasks: 61 executed, 2 up-to-date
    
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-data-types.md

        * In requests and responses will be represented as a `str` in ISO 8601 format, like: `14:23:55.003`.
    * `datetime.timedelta`:
        * A Python `datetime.timedelta`.
        * In requests and responses will be represented as a `float` of total seconds.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/testing.md

    │   └── test_main.py
    ```
    
    Digamos que agora o arquivo `main.py` com seu aplicativo **FastAPI** tenha algumas outras **operações de rotas**.
    
    Ele tem uma operação `GET` que pode retornar um erro.
    
    Ele tem uma operação `POST` que pode retornar vários erros.
    
    Ambas as *operações de rotas* requerem um cabeçalho `X-Token`.
    
    //// tab | Python 3.10+
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_an_py310/main.py!}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. cmd/storage-datatypes.go

    // disk usage per path.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

        /**
         * Determines whether plugins should be processed during project building.
         * When true, the builder will process plugin information which may include
         * resolving plugin dependencies and executing plugin goals that participate in project building.
         *
         * @return true if plugins should be processed, false otherwise
         */
        boolean isProcessPlugins();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top