Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 336 for excepciones (0.05 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          return false;
        }
        return true;
      }
    
      /** Strategy for exception type matching used by {@link NullPointerTester}. */
      private enum ExceptionTypePolicy {
    
        /**
         * Exceptions should be {@link NullPointerException} or {@link UnsupportedOperationException}.
         */
        NPE_OR_UOE() {
          @Override
          public boolean isExpectedType(Throwable cause) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

          value < 0 -> 0
          else -> value.toInt()
        }
      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                assertEquals(10, result);
                verify(response, times(1)).decode(buffer, 0, 10);
            }
    
            @Test
            @DisplayName("decode() should handle exceptions")
            void testDecodeWithException() throws SMBProtocolDecodingException {
                CreateContextResponse response = mock(CreateContextResponse.class);
                byte[] buffer = new byte[100];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            handle.ensureDFSResolved();
            // Assert & interaction verify
            verify(treeConnection).ensureDFSResolved(resourceLoc);
        }
    
        @Test
        @DisplayName("hasCapability delegates and propagates exceptions")
        void hasCapabilityDelegates() throws Exception {
            // Happy path delegates; invalid case propagates SmbException
            when(treeConnection.hasCapability(123)).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     * String value = dynamicProperties.getProperty("key");
     * dynamicProperties.setProperty("key", "newValue");
     * dynamicProperties.store();
     * </pre>
     *
     * <p>Exceptions:
     * <ul>
     *   <li>{@link FileAccessException} - Thrown if there are issues accessing the file.</li>
     *   <li>{@link IORuntimeException} - Thrown if there are I/O errors during file operations.</li>
     * </ul>
     *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            Thread.sleep(1000); // Wait before creating next index (following existing test pattern)
            suggester.createNextIndex();
            Thread.sleep(100);
    
            // Verify that createNextIndex completed without exceptions
            // The update alias should now point to the new index
            final String updateAlias = suggester.getIndex() + ".update";
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                // Reset for custom predicate test
                customCb.reset();
                assertEquals(State.CLOSED, customCb.getState(), "Circuit should be CLOSED after reset");
    
                // Only count specific exceptions as failures using custom predicate
                java.util.function.Predicate<Exception> isFailure = e -> e.getMessage() != null && e.getMessage().contains("critical");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     * {@code K}. If a key has not yet been associated with a value, its implicit value is zero.
     *
     * <p>Most methods in this class treat absent values and zero values identically, as individually
     * documented. Exceptions to this are {@link #containsKey}, {@link #size}, {@link #isEmpty}, {@link
     * #asMap}, and {@link #toString}.
     *
     * <p>Instances of this class may be used by multiple threads concurrently. All operations are
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. tests/test_schema_extra_examples.py

    from typing import Union
    
    import pytest
    from fastapi import Body, Cookie, FastAPI, Header, Path, Query
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    
    
    def create_app():
        app = FastAPI()
    
        class Item(BaseModel):
            data: str
    
            model_config = ConfigDict(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

        @DisplayName("Methods should handle empty buffer")
        void testMethodsWithEmptyBuffer() {
            // Arrange
            byte[] emptyBuffer = new byte[0];
    
            // Act & Assert - These should not throw exceptions
            assertEquals(0, response.writeSetupWireFormat(emptyBuffer, 0));
            assertEquals(0, response.writeParametersWireFormat(emptyBuffer, 0));
            assertEquals(0, response.writeDataWireFormat(emptyBuffer, 0));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top