Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1901 - 1910 of 3,202 for throwIt (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      Map<Element, Element> map;
    
      CollectionBenchmarkSampleData elems;
    
      @Param({"0", "1", "100", "10000"})
      int elements;
    
      @BeforeExperiment
      public void prepareContents() throws Exception {
        mapsImpl = mapEnums.get(implName);
        elems = new CollectionBenchmarkSampleData(elements);
        contents = new HashMap<>();
        for (Element key : elems.getValuesInSet()) {
          contents.put(key, key);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/ConfiguredGoalSupport.java

            super(messageBuilderFactory, secDispatcher);
        }
    
        @Override
        public int execute(EncryptContext context) throws Exception {
            if (!validateConfiguration(context)) {
                context.logger.error(messageBuilderFactory
                        .builder()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

        }
    
        /**
         * A cache key.
         */
        interface Key {
            // marker interface for cache keys
        }
    
        @FunctionalInterface
        interface PluginRealmSupplier {
            CacheRecord load() throws PluginResolutionException, PluginContainerException;
        }
    
        Key createKey(
                Plugin plugin,
                ClassLoader parentRealm,
                Map<String, ClassLoader> foreignImports,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

     */
    class SmbComNegotiateResponseTest {
    
        private SmbTransport.ServerData serverData;
        private SmbComNegotiateResponse response;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            // To instantiate the non-static inner class ServerData, we need an instance of the outer class SmbTransport.
            UniAddress uniAddress = new UniAddress(InetAddress.getByName("127.0.0.1"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          DELIMITER_DOT, DELIMITER_SPACE, DELIMITER_SEMICOLON -> {
            throw IOException("unexpected delimiter")
          }
        }
    
        // "002F" or "0000..002C"
        val sourceCodePoint0 = readHexadecimalUnsignedLong()
        val sourceCodePoint1 =
          when (select(optionsDot)) {
            DELIMITER_DOT -> {
              if (readByte() != '.'.code.toByte()) throw IOException("expected '..'")
              readHexadecimalUnsignedLong()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      }
    
      @Benchmark
      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
          String x = oldRepeat(originalString, count);
          if (x.length() != (originalString.length() * count)) {
            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClient.java

        /**
         * Closes the crawler client and releases any resources associated with it.
         * This default implementation does nothing.
         *
         * @throws Exception if an error occurs during closing
         */
        @Override
        default void close() throws Exception {
            // nothing
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        void testConstructorWithTransportLMCompat0() throws Exception {
            setupTransportMocks(0);
    
            SMB1SigningDigest digest = new SMB1SigningDigest(mockTransport, mockAuth);
            assertNotNull(digest);
        }
    
        @Test
        @DisplayName("Test constructor with transport and auth - LM compatibility 1")
        void testConstructorWithTransportLMCompat1() throws Exception {
            setupTransportMocks(1);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

        apply {
          actions += { stream ->
            val actual = stream.source.readUtf8(expected.utf8Size())
            if (actual != expected) throw AssertionError("$actual != $expected")
          }
        }
    
      fun exhaustRequest() =
        apply {
          actions += { stream ->
            if (!stream.source.exhausted()) throw AssertionError("expected exhausted")
          }
        }
    
      fun cancelStream() =
        apply {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                fileIdField.setAccessible(true);
                byte[] actualFileId = (byte[]) fileIdField.get(request);
                assertArrayEquals(expectedFileId, actualFileId);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Test
        @DisplayName("Test constructor with Configuration and FileId")
        void testConstructorWithConfigAndFileId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top