Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3211 - 3220 of 3,588 for finally (0.04 sec)

  1. android/guava/src/com/google/common/math/MathPreconditions.java

    import java.math.BigInteger;
    import java.math.RoundingMode;
    
    /**
     * A collection of preconditions for math functions.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class MathPreconditions {
      @CanIgnoreReturnValue
      static int checkPositive(String role, int x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/SneakyThrows.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Static utility method for unchecked throwing of any {@link Throwable}. */
    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/SneakyThrows.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    
    /** Static utility method for unchecked throwing of any {@link Throwable}. */
    @GwtCompatible
    final class SneakyThrows<T extends Throwable> {
      /**
       * Throws {@code t} as if it were an unchecked {@link Throwable}.
       *
       * <p>This method is useful primarily when we make a reflective call to a method with no {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. docs/fr/docs/benchmarks.md

        * On n'écrit pas une application avec uniquement Uvicorn. Cela signifie que le code devrait inclure plus ou moins, au minimum, tout le code offert par Starlette (ou **FastAPI**). Et si on fait cela, l'application finale apportera les mêmes complications que si on avait utilisé un framework et que l'on avait minimisé la quantité de code et de bugs.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jul 27 18:49:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.internal.util.SMBUtil;
    
    class SrvCopychunkTest {
    
        private static final int EXPECTED_SIZE = 24;
        private static final int RESERVED_BYTES = 4;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with valid parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

     */
    @SuppressWarnings("deprecation") // tests of deprecated method
    @NullUnmarked
    public class CacheExpirationTest extends TestCase {
    
      private static final long EXPIRING_TIME = 1000;
      private static final int VALUE_PREFIX = 12345;
      private static final String KEY_PREFIX = "key prefix:";
    
      public void testExpiration_expireAfterWrite() {
        FakeTicker ticker = new FakeTicker();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTransportPoolTest.java

        private Address address;
    
        @Mock
        private SmbTransport transport;
    
        @Mock
        private InetAddress localAddr;
    
        private static final int DEFAULT_PORT = 445;
        private static final String TEST_HOST = "test.server.com";
        private static final int LOCAL_PORT = 12345;
    
        @BeforeEach
        void setUp() {
            // Common setup for all tests
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

          </description>
          <codeSegments>
            <codeSegment>
              <version>1.0.0/1.3.0</version>
              <code>
        public static final String USER_LEVEL = "user-level";
        public static final String PROJECT_LEVEL = "project-level";
        public static final String GLOBAL_LEVEL = "global-level";
    
        private String sourceLevel = USER_LEVEL;
        private boolean sourceLevelSet = false;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertEquals(10000, largeStringOpt.get().length());
        }
    
        // Custom test class for object testing
        private static class CustomTestObject {
            private final String name;
            private final int value;
    
            public CustomTestObject(String name, int value) {
                this.name = name;
                this.value = value;
            }
    
            public String getName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            }
        }
    
        public void test_getAvailableBoostDocumentRuleList() {
            // Mock FessConfig
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public Integer getPageDocboostMaxFetchSizeAsInteger() {
                    return 100;
                }
            });
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top