Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 445 for totalRx (0.06 seconds)

  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
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. cmd/http-tracer_test.go

    	totalRequests := 0
    	for _, v := range finalStats.TotalS3Requests.APIStats {
    		totalRequests += v
    	}
    	if totalRequests == 0 {
    		t.Error("Expected some total requests to be recorded, but got zero")
    	}
    	t.Logf("Total requests recorded: %d", totalRequests)
    	t.Logf("Race condition test passed - no races detected")
    }
    
    // TestHTTPAPIStatsRaceCondition tests concurrent access to HTTPAPIStats specifically.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  3. cmd/speedtest.go

    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    			// only the concurrency to be number of drives to start
    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    				concurrency = globalEndpoints.NEndpoints()
    			}
    
    			// Check if we have local disks per pool less than
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

        assertEquals("abcd", mediaType.parameter("BOUNDARY"))
      }
    
      @Test fun testMultipleParameters() {
        val mediaType = parse("Message/Partial; number=2; total=3; id=\"oc=******@****.***\"")
        assertEquals("2", mediaType.parameter("number"))
        assertEquals("3", mediaType.parameter("total"))
        assertEquals("oc=******@****.***", mediaType.parameter("id"))
        assertNull(mediaType.parameter("foo"))
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  5. internal/s3select/message.go

    func newRecordsMessage(payload []byte) []byte {
    	return genMessage(recordsHeader, payload)
    }
    
    // payloadLenForMsgLen computes the length of the payload in a record
    // message given the total length of the message.
    func payloadLenForMsgLen(messageLength int) int {
    	headerLength := len(recordsHeader)
    	payloadLength := messageLength - 4 - 4 - 4 - headerLength - 4
    	return payloadLength
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. cmd/metrics-v3-cluster-notification.go

    	notificationEventsErrorsTotalMD     = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
    	notificationEventsSentTotalMD       = NewCounterMD(notificationEventsSentTotal, "Total number of events sent to the targets")
    	notificationEventsSkippedTotalMD    = NewCounterMD(notificationEventsSkippedTotal, "Events that were skipped to be sent to the targets due to the in-memory queue being full")
    )
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/openapi-callbacks.md

    Давайте рассмотрим это на примере.
    
    Представьте, что вы разрабатываете приложение, позволяющее создавать счета.
    
    Эти счета будут иметь `id`, `title` (необязательный), `customer` и `total`.
    
    Пользователь вашего API (внешний разработчик) создаст счет в вашем API с помощью POST-запроса.
    
    Затем ваш API (предположим) сделает следующее:
    
    * Отправит счет клиенту внешнего разработчика.
    * Получит оплату.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. internal/logger/target/loggertypes/types.go

    	TargetHTTP
    	TargetKafka
    )
    
    // TargetStats contains statistics for a target.
    type TargetStats struct {
    	// QueueLength is the queue length if any messages are queued.
    	QueueLength int
    
    	// TotalMessages is the total number of messages sent in the lifetime of the target
    	TotalMessages int64
    
    	// FailedMessages should log message count that failed to send.
    	FailedMessages int64
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            assertEquals(0, (dst[5] << 8) | (dst[4] & 0xFF));
        }
    
        @Test
        void testWriteDataWireFormat() {
            // Given
            // writeInt8 writes 8 bytes but needs to access dst[dstIndex+7]
            // Total bytes written: 8+8+8+8+2+6=40
            // But writeInt8 at position 34 needs to access position 34+7=41
            // So we need at least 42 bytes in the array
            byte[] dst = new byte[42];
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. regression-test/README.md

    ...
    11:55:40 I/XmlResultReporter: XML test result file generated at /Users/myusername/workspace/okhttp/regression-test/build/outputs/regression-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
    
    ```
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 13 07:09:56 GMT 2020
    - 2.5K bytes
    - Click Count (0)
Back to Top