Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for expect (0.07 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: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      private fun testRequestMethod(
        requestMethod: String,
        expectCached: Boolean,
        withOverride: Boolean = false,
      ) {
        // 1. Seed the cache (potentially).
        // 2. Expect a cache hit or miss.
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .addHeader("X-Response-ID: 1")
            .build(),
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

       * but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed that the method
       * isn't inadvertently <i>oversizing</i> the returned map.
       *
       * @param expectedSize the number of entries you expect to add to the returned map
       * @return a new, empty {@code HashMap} with enough capacity to hold {@code expectedSize} entries
       *     without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

       * but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed that the method
       * isn't inadvertently <i>oversizing</i> the returned map.
       *
       * @param expectedSize the number of entries you expect to add to the returned map
       * @return a new, empty {@code HashMap} with enough capacity to hold {@code expectedSize} entries
       *     without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <tr><td width="20%"><code>smb1://angus/</code></td><td>
     * This references only a server. The behavior of some methods is different
     * in this context(e.g. you cannot <code>delete</code> a server) however
     * as you might expect the <code>list</code> method will list the available
     * shares on this server.
     * </td></tr>
     * 
     * <tr><td width="20%"><code>smb1://myworkgroup/</code></td><td>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/popper.min.js.map

    {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 120.9K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	}
    
    	setPutObjHeaders(w, objInfo, false, r.Header)
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the x-amz-copy-source-version-id header key to be literally
    	// "x-amz-copy-source-version-id"- not in canonicalized form, preserve it.
    	if srcOpts.VersionID != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

       * rate, and ability to be implemented with O(1) time complexity. The initial LRU implementation
       * operates per-segment rather than globally for increased implementation simplicity. We expect
       * the cache hit rate to be similar to that of a global LRU algorithm.
       */
    
      // Constants
    
      /**
       * The maximum capacity, used if a higher value is implicitly specified by either of the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. fastapi/applications.py

                    But when using `Item` for output, for a response body, `tags` is always
                    available because it has a default value, even if it's just an empty
                    list. So, the client should be able to always expect it.
    
                    In this case, there would be two different schemas, one for input and
                    another one for output.
                    """
                ),
            ] = True,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  10. 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)
Back to top