Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 472 for throwing (0.45 sec)

  1. 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)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

          s.addValue("removalListener");
        }
        return s.toString();
      }
    
      /**
       * Returns the number of nanoseconds of the given duration without throwing or overflowing.
       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      public void testPuttingTheSameKeyTwiceThrowsOnBuild() {
        Builder<String, Integer> builder =
            new Builder<String, Integer>()
                .put("one", 1)
                .put("one", 1); // throwing on this line would be even better
    
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> builder.build());
        assertThat(expected).hasMessageThat().contains("one");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle null configuration gracefully")
        void testNullConfiguration() {
            // When - constructor accepts null config without throwing
            Smb2ReadResponse responseWithNull = new Smb2ReadResponse(null, outputBuffer, outputBufferOffset);
    
            // Then - response is created successfully
            assertNotNull(responseWithNull);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                    // Not called
                }
            }, CrawlingInfoService.class.getCanonicalName());
    
            // Should log warning and return without throwing exception
            crawlingInfoHelper.updateParams(sessionId, "Test", 1);
        }
    
        public void test_updateParams_storeException() {
            final String sessionId = "store-error-session";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. docs/bigdata/README.md

    ### **4.1 Spark Pi**
    
    Test the Spark installation by running the following compute intensive example, which calculates pi by “throwing darts” at a circle. The program generates points in the unit square ((0,0) to (1,1)) and counts how many points fall within the unit circle within the square. The result approximates pi.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

                      Set<Integer> unused = network.successors(first);
                      return null;
                    }
                  }));
        }
    
        /*
         * It's unlikely that any operations would fail by throwing an exception, but let's check them
         * just to be safe.
         *
         * The real purpose of this test is to produce a TSAN failure if MapIteratorCache is unsafe for
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

              continue
            }
    
            if (readBytesDelivered != -1L) {
              return readBytesDelivered
            }
    
            if (errorExceptionToDeliver != null) {
              // We defer throwing the exception until now so that we can refill the connection
              // flow-control window. This is necessary because we don't transmit window updates until
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      public void testPuttingTheSameKeyTwiceThrowsOnBuild() {
        Builder<String, Integer> builder =
            ImmutableSortedMap.<String, Integer>naturalOrder()
                .put("one", 1)
                .put("one", 2); // throwing on this line would be even better
    
        assertThrows(IllegalArgumentException.class, () -> builder.build());
      }
    
      public void testOf() {
        assertMapEquals(ImmutableSortedMap.of("one", 1), "one", 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top