Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 448 for throwing (0.25 sec)

  1. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        accumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
        for (int power = 1; power < Long.SIZE - 1; power++) {
          accumulator.addAll(accumulator.snapshot());
        }
        // Should overflow without throwing.
        accumulator.addAll(accumulator.snapshot());
        assertThat(accumulator.count()).isLessThan(0L);
      }
    
      public void testXStats() {
        assertStatsApproxEqual(EMPTY_STATS_ITERABLE, emptyAccumulator.xStats());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

    import jcifs.dcerpc.UnicodeString;
    import jcifs.dcerpc.msrpc.LsaPolicyHandle;
    import jcifs.dcerpc.msrpc.lsarpc;
    
    @ExtendWith(MockitoExtension.class)
    class SIDCacheImplTest {
    
        // Helper to create a SID from text without throwing in the test body
        private static SID sid(String textual) {
            try {
                return new SID(textual);
            } catch (SmbException e) {
                throw new RuntimeException(e);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

                // Then
                assertEquals(42, result);
                verify(mockAllocInfo, times(1)).decode(buffer, 10, 50);
            }
    
            @Test
            @DisplayName("Should handle decode method throwing exception")
            void shouldHandleDecodeMethodThrowingException() throws jcifs.internal.SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

       * (<code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Integer#parseInt(String)}, this method returns {@code null} instead of
       * throwing an exception if parsing fails. Additionally, this method only accepts ASCII digits,
       * and returns {@code null} if non-ASCII digits are present in the string.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

        //                                                                        ============
    
        /**
         * Verifies that the current CRUD mode matches the expected mode, throwing a validation error if not.
         *
         * @param crudMode   the actual CRUD mode value
         * @param expectedMode the expected CRUD mode value
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

         * specified by the <code>UniAddress</code> parameter. If the credentials are
         * not accepted, an <code>SmbAuthException</code> will be thrown. If an error
         * occurs an <code>SmbException</code> will be thrown. If the credentials are
         * valid, the method will return without throwing an exception. See the
         * last <a href="../../../faq.html">FAQ</a> question.
         * <p>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Strings.java

       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportImplTest.java

                    transport.getRequestSecurityMode(firstReq));
        }
    
        @Test
        @DisplayName("toString contains key fields without throwing")
        void toStringContainsInfo() {
            String s = transport.toString();
            assertNotNull(s);
            assertTrue(s.contains("state="));
            assertTrue(s.contains(":445"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Longs.java

       * <code>'&#92;u002D'</code>) is recognized as the minus sign.
       *
       * <p>Unlike {@link Long#parseLong(String)}, this method returns {@code null} instead of throwing
       * an exception if parsing fails. Additionally, this method only accepts ASCII digits, and returns
       * {@code null} if non-ASCII digits are present in the string.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar");
    
            try {
                testHelper.installArtifact(artifact);
                // If we get here, the method executed without throwing
                assertTrue(true);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
        }
    
        public void test_install_blankUrl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top