Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for _get_signature (0.1 seconds)

  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:
        try:
            signature = inspect.signature(call, eval_str=True)
        except NameError:
            # Handle type annotations with if TYPE_CHECKING, not used by FastAPI
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            }
    
            public static AccessorKey ofMethodWithSameSignatureButNewName(String newName, JApiMethod jApiMethod) {
                String descriptor = jApiMethod.getNewMethod().get().getSignature();
                String containingType = jApiMethod.getjApiClass().getFullyQualifiedName();
                return new AccessorKey(containingType, newName, descriptor);
            }
    
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Aug 13 19:17:41 GMT 2024
    - 8K bytes
    - Click Count (0)
  3. 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}.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. 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
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                    }
                    PropertyDoc property = classDoc.findProperty(methodName);
                    boolean multiValued = false;
                    if (property != null && method.getParameters().size() == 1 && method.getParameters().get(0).getType().getSignature().equals(Closure.class.getName())) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  6. cmd/signature-v4.go

    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    // getSignature final signature in hexadecimal form.
    func getSignature(signingKey []byte, stringToSign string) string {
    	return hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    }
    
    // Check to see if Policy is signed correctly.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  7. 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.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

            }
    
            @Override
            MethodVisitor visitMethod(int access, String name, String methodDescriptor, String signature, String[] exceptions) {
                if (behaviorName == name && methodDescriptor == behavior.getSignature()) {
                    return new MethodVisitor(AsmConstants.ASM_LEVEL) {
    
                        @Override
                        AnnotationVisitor visitAnnotation(String descriptor, boolean visible) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  9. 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;
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. 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("(");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 12.6K bytes
    - Click Count (0)
Back to Top