Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 319 for Expect (0.08 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

            assertTrue(StrictMath.pow(2.0, log2 + 1) > d);
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.log2(double, RoundingMode)
      public void testRoundLog2Half() {
        // We don't expect perfect rounding accuracy.
        for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
          for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    instead use the **(old) default value style**, if you call that function without FastAPI in **other places**, you have to **remember** to pass the arguments to the function for it to work correctly, otherwise the values will be different from what you expect (e.g. `QueryInfo` or something similar instead of `str`). And your editor won't complain, and Python won't complain running that function, only when the operations inside error out.
    
    Because `Annotated` can have more than one metadata annotation,...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/sql-databases.md

    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    If you go to the `/docs` API UI, you will see that it is now updated, and it won't expect to receive the `id` from the client when creating a hero, etc.
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image02.png">
    </div>
    
    ## Recapitulando
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

       * methodParameter().
       */
      @SuppressWarnings("unused") // used by reflection
      public static class OneArg {
    
        public static void staticOneArgCorrectlyThrowsNpe(String s) {
          checkNotNull(s); // expect NPE here on null
        }
    
        public static void staticOneArgThrowsOtherThanNpe(String s) {
          throw new FooException(); // should catch as failure
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        server.enqueue(MockResponse().setBody("response"))
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setDoOutput(true)
        connection.setRequestProperty("Expect", "100-Continue")
        connection.outputStream.write("request".toByteArray(StandardCharsets.UTF_8))
        val inputStream = connection.inputStream
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  6. misc/go_android_exec/main.go

    		deviceCwd = path.Join(deviceGoroot, "src", importPath)
    	} else {
    		deviceCwd = path.Join(deviceGopath, "src", importPath)
    		if modDir != "" {
    			// In module mode, the user may reasonably expect the entire module
    			// to be present. Copy it over.
    			deviceModDir := path.Join(deviceGopath, "src", modPath)
    			if err := adb("exec-out", "mkdir", "-p", path.Dir(deviceModDir)); err != nil {
    				return 0, err
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                lenient().doNothing().when(mockBuffer).enc_ndr_small(anyInt());
    
                DcerpcBind bindWithParams = new DcerpcBind(mockBinding, mockHandle);
    
                // When/Then - Expect NPE due to UUID.encode() limitations
                assertThrows(NullPointerException.class, () -> {
                    bindWithParams.encode_in(mockBuffer);
                }, "Should fail on UUID encoding");
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    				return nil, errAuthentication
    			}
    		}
    		// Save each attribute to claims.
    		claims[ldapAttribPrefix+attribKey] = attribValue[0]
    	}
    
    	if key != nil {
    		// If a key was provided, we expect the user to have an sshPublicKey
    		// attribute.
    		if _, ok := claims[ldapAttribPrefix+"sshPublicKey"]; !ok {
    			return nil, errAuthentication
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

            .socketHandler(body)
            .build(),
        )
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .header("Expect", "100-continue")
              .post(AsyncRequestBody())
              .build(),
          )
        call.execute().use { response ->
          val requestBody = (call.request().body as AsyncRequestBody?)!!.takeSink()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top