Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Unexpected (0.12 sec)

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

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0x20 at 1 in header name: a b")
        }
      }
    
      @Test
      fun requestHeaderNameWithTabForbidden() {
        assertFailsWith<IllegalArgumentException> {
          Request.Builder().addHeader("a\tb", "c")
        }.also { expected ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		// ServeHTTP to execute the logic of the handler.
    		apiRouter.ServeHTTP(rec, req)
    
    		isEnc := false
    		expected := 200
    		if strings.HasPrefix(input.objectName, "enc-") {
    			isEnc = true
    			expected = 400
    		}
    		if rec.Code != expected {
    			t.Errorf("Test %d: expected code %d but got %d for object %s", i+1, expected, rec.Code, input.objectName)
    		}
    
    		contentLength := rec.Header().Get("Content-Length")
    		if isEnc {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.32.md

    - Unallowed label values will show up as "unexpected" in all system components metrics ([#128100](https://github.com/kubernetes/kubernetes/pull/128100), [@yongruilin](https://github.com/yongruilin)) [SIG Architecture and Instrumentation]
    
    ### Other (Cleanup or Flake)
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 29 20:17:52 UTC 2024
    - 121.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          getResponse(newRequest("/foo"))
        }.also { expected ->
          when (expected) {
            is SSLHandshakeException -> {
              // Allow conscrypt to fail in different ways
              if (!platform.isConscrypt()) {
                assertThat(expected.cause!!).isInstanceOf<CertificateException>()
              }
            }
            is TlsFatalAlert -> {}
            else -> throw expected
          }
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	var ver struct {
    		Version int `json:"version"`
    	}
    	err = json.Unmarshal(buf, &ver)
    	if err != nil {
    		return err
    	}
    	if ver.Version != srStateFormatVersion1 {
    		return fmt.Errorf("Unexpected ClusterRepl state version: %d", ver.Version)
    	}
    
    	var sdata srStateData
    	err = json.Unmarshal(buf, &sdata)
    	if err != nil {
    		return err
    	}
    
    	c.Lock()
    	defer c.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered maps can lead to unexpected and undefined behavior.
       *
       * @since 20.0
       */
      @GwtIncompatible // NavigableMap
      public static <K extends Comparable<? super K>, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

       * Comparator}, which can violate the natural ordering. Using this method (or in general using
       * {@code Range}) with unnaturally-ordered maps can lead to unexpected and undefined behavior.
       *
       * @since 20.0
       */
      @GwtIncompatible // NavigableMap
      public static <K extends Comparable<? super K>, V extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. cmd/bucket-replication.go

    	}
    	// OK, parse data.
    	if _, err = brs.UnmarshalMsg(data[4:]); err != nil {
    		return brs, err
    	}
    
    	switch brs.Version {
    	case resyncMetaVersionV1:
    	default:
    		return brs, fmt.Errorf("unexpected resync meta version: %d", brs.Version)
    	}
    	return brs, nil
    }
    
    // save resync status to resync.bin
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. cmd/server_test.go

    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    			c.Errorf("Expected key %s missing from %v", k, res.Header)
    		} else {
    			expectedSet := set.CreateStringSet(expectedMap[k]...)
    			gotSet := set.CreateStringSet(strings.Split(v[0], ", ")...)
    			if !expectedSet.Equals(gotSet) {
    				c.Errorf("Expected value %v, got %v", strings.Join(expectedMap[k], ", "), v)
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     prefer more specific types, avoiding {@code Throwable.class} in particular.
       * @param fallback the function to be called if this step fails with the expected exception type.
       *     The function's argument is this step's exception. "This step's exception" means the cause
       *     of the {@link ExecutionException} thrown by {@link Future#get()} on the {@link Future}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top