Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for invalidPort (0.2 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

          requestBuilder.url("ftp://hostname/path")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'")
        }
      }
    
      @Test
      fun invalidPort() {
        val requestBuilder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          requestBuilder.url("http://localhost:65536/")
        }.also { expected ->
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. security/pkg/k8s/chiron/utils_test.go

    		k8sCaCertFile     string
    		secretNames       []string
    		dnsNames          []string
    		serviceNamespaces []string
    
    		secretName      string
    		secretNameSpace string
    
    		invalidCert     bool
    		expectFail      bool
    		certificateData []byte
    	}{
    		{
    			name:              "read signed cert should succeed",
    			gracePeriodRatio:  0.6,
    			k8sCaCertFile:     "./test-data/example-ca-cert.pem",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/HostAndPort.java

       * @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out
       *     of range.
       */
      public static HostAndPort fromParts(String host, int port) {
        checkArgument(isValidPort(port), "Port out of range: %s", port);
        HostAndPort parsedHost = fromString(host);
        checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HostAndPort.java

       * @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out
       *     of range.
       */
      public static HostAndPort fromParts(String host, int port) {
        checkArgument(isValidPort(port), "Port out of range: %s", port);
        HostAndPort parsedHost = fromString(host);
        checkArgument(!parsedHost.hasPort(), "Host has a port: %s", host);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

            result.executionReasons == ["No history is available."]
        }
    
        def "out of date when work fails validation"() {
            given:
            execute(unitOfWork)
    
            def invalidWork = builder
                .withValidator { context ->
                    context
                        .forType(UnitOfWork, false)
                        .visitPropertyProblem {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  6. security/pkg/util/certutil_test.go

    			cert:        testCert,
    			now:         time.Date(2017, time.August, 24, 16, 0, 0, 40, time.UTC),
    			expectedErr: "got a certificate that should be renewed now",
    		},
    		"Invalid cert pem": {
    			cert:        []byte(`INVALIDCERT`),
    			now:         time.Date(2017, time.August, 23, 21, 0, 0, 40, time.UTC),
    			expectedErr: "invalid PEM encoded certificate",
    		},
    	}
    
    	cu := NewCertUtil(50) // Grace period percentage is set to 50
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/api-errors_test.go

    	{err: ObjectNotFound{}, errCode: ErrNoSuchKey},
    	{err: ObjectNameInvalid{}, errCode: ErrInvalidObjectName},
    	{err: InvalidUploadID{}, errCode: ErrNoSuchUpload},
    	{err: InvalidPart{}, errCode: ErrInvalidPart},
    	{err: InsufficientReadQuorum{}, errCode: ErrSlowDownRead},
    	{err: InsufficientWriteQuorum{}, errCode: ErrSlowDownWrite},
    	{err: InvalidUploadIDKeyCombination{}, errCode: ErrNotImplemented},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		partID := parts[i].PartNumber
    		if part.Error != "" || !part.Exists {
    			return oi, InvalidPart{
    				PartNumber: partID,
    			}
    		}
    
    		var pfi FileInfo
    		_, err := pfi.UnmarshalMsg(part.Data)
    		if err != nil {
    			// Maybe crash or similar.
    			bugLogIf(ctx, err)
    			return oi, InvalidPart{
    				PartNumber: partID,
    			}
    		}
    
    		partI := pfi.Parts[0]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook_test.go

    			test:       "invalid server CA",
    			clientCert: clientCert, clientKey: clientKey, clientCA: caCert,
    			serverCert: serverCert, serverKey: serverKey, serverCA: invalidCert,
    			errRegex: errBadCertificate,
    		},
    		{
    			test:       "invalid client certificate",
    			clientCert: invalidCert, clientKey: clientKey, clientCA: caCert,
    			serverCert: serverCert, serverKey: serverKey, serverCA: caCert,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  10. cmd/object-api-errors.go

    	UploadID string
    }
    
    func (e InvalidUploadID) Error() string {
    	return "Invalid upload id " + e.UploadID
    }
    
    // InvalidPart One or more of the specified parts could not be found
    type InvalidPart struct {
    	PartNumber int
    	ExpETag    string
    	GotETag    string
    }
    
    func (e InvalidPart) Error() string {
    	return fmt.Sprintf("Specified part could not be found. PartNumber %d, Expected %s, got %s",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 22:19:00 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top