Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for _get_signature (0.06 sec)

  1. fastapi/dependencies/utils.py

        cookie_params = _get_flat_fields_from_params(flat_dependant.cookie_params)
        return path_params + query_params + header_params + cookie_params
    
    
    def _get_signature(call: Callable[..., Any]) -> inspect.Signature:
        if sys.version_info >= (3, 10):
            try:
                signature = inspect.signature(call, eval_str=True)
            except NameError:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  2. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

         *            Array of arguments
         */
        public ConstructorNotFoundRuntimeException(final Class<?> targetClass, final Object[] methodArgs) {
            super("ECL0048", asArray(targetClass.getName(), getSignature(methodArgs)));
            this.targetClass = targetClass;
            this.methodArgs = methodArgs;
            paramTypes = null;
        }
    
        /**
         * Creates a {@link ConstructorNotFoundRuntimeException}.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java

         */
        public NoSuchConstructorRuntimeException(final Class<?> targetClass, final Class<?>[] argTypes, final Throwable cause) {
            super("ECL0064", asArray(targetClass.getName(), MethodUtil.getSignature(targetClass.getSimpleName(), argTypes)), cause);
            this.targetClass = targetClass;
            this.argTypes = argTypes;
        }
    
        /**
         * Returns the target class.
         *
         * @return Target class
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

         */
        public NoSuchMethodRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] argTypes,
                final Throwable cause) {
            super("ECL0057", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, argTypes)), cause);
            this.targetClass = targetClass;
            this.methodName = methodName;
            this.argTypes = argTypes;
        }
    
        /**
         * Returns the target class.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

         */
        public MethodNotFoundRuntimeException(final Class<?> targetClass, final String methodName, final Class<?>[] methodArgClasses) {
            super("ECL0049", asArray(targetClass.getName(), MethodUtil.getSignature(methodName, methodArgClasses)));
            this.targetClass = targetClass;
            this.methodName = methodName;
            this.methodArgClasses = methodArgClasses;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            this.sessionId = sessionId;
        }
    
        /**
         * Gets the signature or authentication tag for the encrypted message
         *
         * @return the signature/authentication tag
         */
        public byte[] getSignature() {
            return this.signature;
        }
    
        /**
         * Sets the signature or authentication tag for the encrypted message
         *
         * @param signature
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * @param argTypes
         *            The argument types
         * @return The string representation of the method signature
         */
        public static String getSignature(final String methodName, final Class<?>... argTypes) {
            assertArgumentNotEmpty("methodName", methodName);
    
            final StringBuilder buf = new StringBuilder(100);
            buf.append(methodName).append("(");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            new SecureRandom().nextBytes(signature);
    
            // When
            transformHeader.setSignature(signature);
    
            // Then
            assertArrayEquals(signature, transformHeader.getSignature());
        }
    
        @Test
        @DisplayName("Should set and get nonce")
        void testNonce() {
            // When
            transformHeader.setNonce(testNonce);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                final byte[] associatedData = transformHeader.getAssociatedData();
                byte[] nonce = transformHeader.getNonce();
                final byte[] authTag = transformHeader.getSignature();
    
                // Extract ciphertext
                final int ciphertextLength = encryptedMessage.length - Smb2TransformHeader.TRANSFORM_HEADER_SIZE;
                final byte[] ciphertext = new byte[ciphertextLength];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top