Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 2,394 for Match (0.02 sec)

  1. tests/test_dependency_yield_scope_websockets.py

        assert global_state["session_closed"] is True
        assert global_state["named_session_closed"] is True
    
    
    def test_broken_scope() -> None:
        with pytest.raises(
            FastAPIError,
            match='The dependency "get_named_func_session" has a scope of "request", it cannot depend on dependencies with scope "function"',
        ):
    
            @app.websocket("/broken-scope")
            async def get_broken(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                    }
    
                    else -> line
                }
            }.toByteArray(StandardCharsets.UTF_8))
            require(replacementsCount == 1) { "The script file produced by the default start script doesn't match expected layout" }
        }
    
        private
        fun getAgentOptions(appHomeVar: String) = agentJarNames.map { "-javaagent:$appHomeVar/lib/agents/$it" }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Apr 08 01:46:59 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
          throw new AssertionError(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		Code:           "InvalidArgument",
    		Description:    "The calculated MD5 hash of the key did not match the hash that was provided.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidSSECustomerParameters: {
    		Code:           "InvalidArgument",
    		Description:    "The provided encryption parameters did not match the ones used originally.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKMSNotConfigured: {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (3)
  5. tensorflow/c/c_api.h

    // `dims` will be set corresponding to the size of the dimension. An
    // unknown dimension is represented by `-1`.
    //
    // Returns an error into `status` if:
    //   * `output` is not in `graph`.
    //   * `num_dims` does not match the actual number of dimensions.
    TF_CAPI_EXPORT extern void TF_GraphGetTensorShape(TF_Graph* graph,
                                                      TF_Output output,
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  6. cmd/api-router.go

    	var routers []*mux.Router
    	for _, domainName := range globalDomainNames {
    		if IsKubernetes() {
    			routers = append(routers, apiRouter.MatcherFunc(func(r *http.Request, match *mux.RouteMatch) bool {
    				host, _, err := net.SplitHostPort(getHost(r))
    				if err != nil {
    					host = r.Host
    				}
    				// Make sure to skip matching minio.<domain>` this is
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:19 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

            } else {
                // Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL
                expected = NtStatus.NT_STATUS_UNSUCCESSFUL;
            }
            assertEquals(expected, ex.getNtStatus(), "Status should match mapping or fallback");
        }
    
        /**
         * Verify that root causes are stored and returned correctly.
         */
        @Test
        @DisplayName("Root cause propagation")
        void testRootCausePropagation() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, cmd.subCommand, "subCommand should be QUERY_FS_INFORMATION");
            // the fields are set in the constructor – check that the counts match
            assertEquals(2, cmd.totalParameterCount, "totalParameterCount should be 2");
            assertEquals(0, cmd.totalDataCount, "totalDataCount should be 0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("date", ""),
          Header("etag", ""),
          Header("expect", ""),
          Header("expires", ""),
          Header("from", ""),
          Header("host", ""),
          Header("if-match", ""),
          Header("if-modified-since", ""),
          Header("if-none-match", ""),
          Header("if-range", ""),
          Header("if-unmodified-since", ""),
          Header("last-modified", ""),
          Header("link", ""),
          Header("location", ""),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/EncdecTest.java

            Encdec.enc_uint64le(currentDate.getTime(), buffer, 0);
            long decoded = Encdec.dec_uint64le(buffer, 0);
    
            // Then
            assertEquals(currentDate.getTime(), decoded, "Encoded and decoded time should match");
        }
    
        @Test
        @DisplayName("Should encode and decode UUIDs")
        void testUUIDOperations() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top