Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1901 - 1910 of 2,321 for methods (0.07 sec)

  1. docs/es/docs/advanced/advanced-dependencies.md

    ## Una *instance* "callable"
    
    En Python hay una forma de hacer que una instance de una clase sea un "callable".
    
    No la clase en sí (que ya es un callable), sino una instance de esa clase.
    
    Para hacer eso, declaramos un método `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            } catch (Exception e) {
                fail("processDBFluteSystem should handle unlock/lock properly: " + e.getMessage());
            }
        }
    
        // Helper method to get TimeZoneProvider from DBFluteSystem using reflection
        private DfFinalTimeZoneProvider getDBFluteSystemTimeZoneProvider() {
            try {
                // Try to access the field, handling potential security restrictions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
            // Verify that current test method appears in stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : stackTrace) {
                if (element.getMethodName().equals("test_stackTrace")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertNotNull(causeStackTrace);
            assertTrue(causeStackTrace.length > 0);
        }
    
        public void test_toString() {
            // Test toString method
            String message = "Script engine test error";
            ScriptEngineException exception = new ScriptEngineException(message);
    
            String result = exception.toString();
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            ThemeException exception = new ThemeException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify that this test method appears in the stack trace
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
                if ("test_stackTrace".equals(element.getMethodName())) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CaseFormat.java

      /**
       * Converts the specified {@code String str} from this format to the specified {@code format}. A
       * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then
       * the behavior of this method is undefined but we make a reasonable effort at converting anyway.
       */
      public final String to(CaseFormat format, String str) {
        checkNotNull(format);
        checkNotNull(str);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
      private static void assertReadsCorrectly(CharSequence charSequence) throws IOException {
        String expected = charSequence.toString();
    
        // read char by char
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Tests for SmbSessionInternal interface using Mockito to exercise
     * method contracts, checked exceptions, and interactions with collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionInternalTest {
    
        @Mock
        private SmbSessionInternal session;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         */
        <T> void set(@Nonnull Key<T> key, @Nullable T value);
    
        /**
         * Associates the specified session data with the given key if the key is currently mapped to the given value. This
         * method provides an atomic compare-and-update of some key's value.
         *
         * @param key the key under which to store the session data, must not be {@code null}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

        var invokeStartEvent = true
        var responseBuilder: Response.Builder? = null
        var sendRequestException: IOException? = null
        val hasRequestBody = HttpMethod.permitsRequestBody(request.method) && requestBody != null
        val isUpgradeRequest =
          !hasRequestBody &&
            "upgrade".equals(request.header("Connection"), ignoreCase = true)
        try {
          exchange.writeRequestHeaders(request)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top