Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 355 for LIMIT (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        }
    
        @Test
        void testFailoverStateRetryLogic() {
            ChannelFailover.FailoverState state = new ChannelFailover.FailoverState("test-channel");
    
            // Should allow retries up to limit
            assertTrue(state.shouldRetry());
    
            state.incrementRetry(); // Retry 1
            assertTrue(state.shouldRetry());
    
            state.incrementRetry(); // Retry 2
            assertTrue(state.shouldRetry());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 10, 100, 500, 1024 })
        void testReadDataWireFormatVariousSizes(int dataSize) throws SMBProtocolDecodingException {
            // Test with various data sizes within buffer limit
            byte[] testData = new byte[dataSize];
            Arrays.fill(testData, (byte) 0xAB);
            byte[] buffer = new byte[dataSize + 100];
            System.arraycopy(testData, 0, buffer, 20, dataSize);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. docs/features/events.md

    0002 0.554 responseBodyEnd
    0002 0.554 connectionReleased
    0002 0.554 callEnd
    0001 0.624 responseBodyEnd
    0001 0.624 connectionReleased
    0001 0.624 callEnd
    ```
    
    The `EventListener.Factory` also makes it possible to limit metrics to a subset of calls. This one captures metrics on a random 10%:
    
    ```java
    class MetricsEventListener extends EventListener {
      private static final Factory FACTORY = new Factory() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/query-param-models.md

    もしクライアントが**クエリパラメータ**として**余分な**データを送ろうとすると、**エラー**レスポンスが返されます。
    
    例えば、クライアントがクエリパラメータ `tool` に、値 `plumbus` を設定して送ろうとすると:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    クエリパラメータ `tool` が許可されていないことを通知する**エラー**レスポンスが返されます。
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:18:46 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        } catch (ioe: IOException) {
          assertThat(ioe.message).isEqualTo("google.com")
          val cause = ioe.cause!!
          assertThat(cause).isInstanceOf<IOException>()
          assertThat(cause).hasMessage("response size exceeds limit (65536 bytes): 65537 bytes")
        }
      }
    
      @Test
      fun failOnBadResponse() {
        server.enqueue(dnsResponse("00"))
        try {
          dns.lookup("google.com")
          fail<Any>()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. cmd/consolelogger.go

    	// Enable console logging for remote client.
    	if !sys.HasLogListeners() {
    		logger.AddSystemTarget(GlobalContext, sys)
    	}
    
    	cnt := 0
    	// by default send all console logs in the ring buffer unless node or limit query parameters
    	// are set.
    	var lastN []log.Info
    	if last > defaultLogBufferCount || last <= 0 {
    		last = defaultLogBufferCount
    	}
    
    	lastN = make([]log.Info, last)
    	sys.RLock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Then
            assertSame(timeZone, resultTimeZone, "Should delegate time zone");
            verify(mockDelegate).getLocalTimezone();
        }
    
        @Test
        @DisplayName("Batch limit configuration should delegate correctly")
        void testBatchLimitDelegation() {
            // Given
            String operation = "TestOperation";
            when(mockDelegate.getBatchLimit(operation)).thenReturn(100);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * one or more streams, and then released. An allocated connection won't be stolen by other calls
     * while a redirect or authorization challenge is being handled.
     *
     * When the maximum concurrent streams limit is reduced, some allocations will be rescinded.
     * Attempting to create new streams on these allocations will fail.
     *
     * Note that an allocation may be released before its stream is completed. This is intended to make
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    In beiden Fällen wird sie haben:
    
    * Einen optionalen `q`-Query-Parameter, der ein `str` ist.
    * Einen `skip`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `0`.
    * Einen `limit`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `100`.
    
    In beiden Fällen werden die Daten konvertiert, validiert, im OpenAPI-Schema dokumentiert, usw.
    
    ## Verwendung
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

          object : Comparator<String> {
            override fun compare(
              a: String,
              b: String,
            ): Int {
              var i = 4
              val limit = minOf(a.length, b.length)
              while (i < limit) {
                val charA = a[i]
                val charB = b[i]
                if (charA != charB) return if (charA < charB) -1 else 1
                i++
              }
              val lengthA = a.length
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 39.9K bytes
    - Viewed (0)
Back to top