Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 52 for signature (0.09 seconds)

  1. fastapi/dependencies/utils.py

    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
            # e.g. dependency return types
            if sys.version_info >= (3, 14):
                from annotationlib import Format
    
                signature = inspect.signature(call, annotation_format=Format.FORWARDREF)
    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. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            // For now, we test that the method signature is correct and can be called
    
            AtomicInteger callbackCount = new AtomicInteger(0);
    
            try {
                // This will likely fail due to missing SearchEngineClient setup,
                // but we can verify the method signature and basic functionality
                SearchEngineUtil.scroll("test_index", hit -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                // Try to call the expired method
                // Note: This method may fail in test environments due to system dependencies
                // but we mainly want to ensure the method signature is correct
                testTarget.expired();
    
                // If we get here, the method executed successfully
                assertTrue("expired method executed successfully", true);
            } catch (Throwable t) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

      static double getMinValue(double[] array, int from) {
        // This is basically a copy of com.google.math.Rank#getMinValue, with a small change in the
        // method signature: we always search to the end of the array.
        int min = from;
        for (int i = from + 1; i < array.length; i++) {
          if (array[min] > array[i]) {
            min = i;
          }
        }
        return array[min];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

      static double getMinValue(double[] array, int from) {
        // This is basically a copy of com.google.math.Rank#getMinValue, with a small change in the
        // method signature: we always search to the end of the array.
        int min = from;
        for (int i = from + 1; i < array.length; i++) {
          if (array[min] > array[i]) {
            min = i;
          }
        }
        return array[min];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. .teamcity/scripts/CheckBadMerge.java

        private static List<String> parentCommitsOf(String commit) throws IOException, InterruptedException, ExecutionException {
            String stdout = getStdout(new String[] {"git", "show", "--format=%P", "--no-patch", "--no-show-signature", commit});
            String trimmed = stdout.trim();
            if (trimmed.isEmpty()) {
                return Collections.emptyList();
            }
            return Arrays.stream(trimmed.split("\\s+"))
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K bytes
    - Click Count (0)
  7. android/pom.xml

        <gwt-maven-plugin.version>2.10.0</gwt-maven-plugin.version>
        <gwt.version>2.13.0</gwt.version>
        <j2objc.version>3.1</j2objc.version>
        <java18-signature.version>1.0</java18-signature.version>
        <javahome-resolver-maven-plugin.version>1.0.2</javahome-resolver-maven-plugin.version>
        <jimfs.version>1.3.1</jimfs.version>
        <jspecify.version>1.0.0</jspecify.version>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 17 19:12:41 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                @Override
                public boolean isLdapIgnoreNetbiosName() {
                    return false;
                }
            });
            sambaHelper.init();
    
            // Verify method signature exists for SMB1 SID - actual test would require real SMB1 SID instance
            assertNotNull(sambaHelper);
        }
    
        @Test
        public void test_createSearchRole_lowercase() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        }
    
        @Test
        public void test_stackTracePopulated() {
            // Test that stack trace is properly populated
            InvalidAccessTokenException exception = new InvalidAccessTokenException("JWT", "Invalid signature");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

     * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class
     * is analyzed reflectively to determine appropriate test cases based on its signature. Additional
     * ad hoc test cases can be found in {@link SupplementalMonitorTest}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
Back to Top