Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for violations (0.19 sec)

  1. tests/test_ws_router.py

            with client.websocket_connect("/depends-validate/"):
                pass  # pragma: no cover
        # the validation error does produce a close message
        assert e.value.code == status.WS_1008_POLICY_VIOLATION
        # and no error is leaked
        assert caught == []
    
    
    def test_depend_err_middleware():
        """
        Verify that it is possible to write custom WebSocket middleware to catch errors
        """
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                                ": 0x" + jcifs.smb1.util.Hexdump.toHexString( sae.getNtStatus(), 8 ) +
                                ": " + sae );
                    }
                    if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {
                        /* Server challenge no longer valid for
                         * externally supplied password hashes.
                         */
                        HttpSession ssn = req.getSession(false);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashCodeTest.java

        HashCode hashCodeB = HashCode.fromBytes(bytesB);
    
        // They aren't equal...
        assertFalse(hashCodeA.equals(hashCodeB));
    
        // But they still have the same Object#hashCode() value.
        // Technically not a violation of the equals/hashCode contract, but...?
        assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode());
      }
    
      public void testRoundTripHashCodeUsingFromString() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMaker.java

       *
       * <p><b>Warning:</b> when this method is used, the resulting map will use identity ({@code ==})
       * comparison to determine equality of keys, which is a technical violation of the {@link Map}
       * specification, and may not be what you expect.
       *
       * @throws IllegalStateException if the key strength was already set
       * @see WeakReference
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  6. tests/associations_belongs_to_test.go

    	if err := DB.Create(&user).Error; err == nil {
    		tidbSkip(t, "not support the foreign key feature")
    		t.Errorf("should have gotten foreign key violation error")
    	}
    }
    
    func TestBelongsToAssociationForSlice(t *testing.T) {
    	users := []User{
    		*GetUser("slice-belongs-to-1", Config{Company: true, Manager: true}),
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

                    log.warn("NtlmHttpFilter: " + ntlm.getName() + ": 0x" + jcifs.util.Hexdump.toHexString(sae.getNtStatus(), 8) + ": " + sae);
                    if ( sae.getNtStatus() == NtStatus.NT_STATUS_ACCESS_VIOLATION ) {
                        /*
                         * Server challenge no longer valid for
                         * externally supplied password hashes.
                         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  8. fastapi/routing.py

                        `response_model`, converting any data as necessary to generate the
                        corresponding JSON. But if the data in the object returned is not
                        valid, that would mean a violation of the contract with the client,
                        so it's an error from the API developer. So, FastAPI will raise an
                        error and return a 500 error code (Internal Server Error).
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

            }
            catch ( SmbAuthException sae ) {
                if ( ssn != null ) {
                    ssn.removeAttribute("npa-" + server);
                }
                if ( sae.getNtStatus() == NtStatus.NT_STATUS_ACCESS_VIOLATION ) {
                    /*
                     * Server challenge no longer valid for
                     * externally supplied password hashes.
                     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                }
            } catch( SmbAuthException sae ) {
                if( ssn != null ) {
                    ssn.removeAttribute( "npa-" + server );
                }
                if( sae.getNtStatus() == sae.NT_STATUS_ACCESS_VIOLATION ) {
                    /* Server challenge no longer valid for
                     * externally supplied password hashes.
                     */
                    resp.sendRedirect( req.getRequestURL().toString() );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
Back to top