Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 181 for Petry (0.21 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        )
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event"))
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "second event"))
      }
    
      @Test
      fun retry() {
        consumeEvents(
          """
          |retry: 22
          |
          |data: first event
          |id: 1
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(22L)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

          // If the problem was a CertificateException from the X509TrustManager,
          // do not retry.
          if (e.cause is CertificateException) {
            return false
          }
        }
        if (e is SSLPeerUnverifiedException) {
          // e.g. a certificate pinning error.
          return false
        }
        // An example of one we might want to retry with a different route is a problem connecting to a
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  3. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
          check(retry == null)
          return FakePlan(nextPlanId++)
            .also {
              retry = it
            }
        }
    
        fun createConnectTcpNextPlan(): FakePlan {
          check(connectTcpNextPlan == null)
          return FakePlan(nextPlanId++)
            .also {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    	Prefix          string                 `yaml:"prefix" json:"prefix"`
    	NotificationCfg BatchJobNotification   `yaml:"notify" json:"notify"`
    	Retry           BatchJobRetry          `yaml:"retry" json:"retry"`
    	Rules           []BatchJobExpireFilter `yaml:"rules" json:"rules"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpire{}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. cmd/batch-rotate.go

    // - filter
    // - notify
    // - retry
    type BatchJobKeyRotateFlags struct {
    	Filter BatchKeyRotateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    // BatchJobKeyRotateV1 v1 of batch key rotation job
    type BatchJobKeyRotateV1 struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbCopyUtil.java

                                Smb2IoctlResponse response = copy.getResponse();
                                if ( !retry && response.isReceived() && !response.isError()
                                        && response.getStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER ) {
                                    retry = true;
                                    SrvCopyChunkCopyResponse outputData = response.getOutputData(SrvCopyChunkCopyResponse.class);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                boolean retry = true;
    
                // this will run at most twice. The first time, the firstRun flag is turned off, and if the retry flag
                // is set on the first run, it will be turned off and not re-set on the second try. This is because the
                // only way the retry flag can be set is if ( firstRun == true ).
                while (firstRun || retry) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        Smb2WriteResponse resp = th.send(request, RequestParam.NO_RETRY);
                        cnt = resp.getCount();
                    }
                    else {
                        SmbComWriteAndX request = new SmbComWriteAndX(th.getConfig(), fh.getFid(), this.fp, len - w - off, b, off, w, null);
                        th.send(request, this.write_andx_resp, RequestParam.NO_RETRY);
                        cnt = this.write_andx_resp.getCount();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  9. cmd/batch-replicate_gen.go

    				return
    			}
    		case "Notify":
    			err = z.Notify.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Notify")
    				return
    			}
    		case "Retry":
    			err = z.Retry.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Retry")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ReusePlan.kt

      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top