Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1581 - 1590 of 1,947 for threw (0.02 sec)

  1. guava-tests/test/com/google/common/primitives/ShortsTest.java

        List<Short> one = Arrays.asList((short) 1);
        assertThat(Shorts.toArray(one)).isEqualTo(ARRAY1);
    
        short[] array = {(short) 0, (short) 1, (short) 3};
    
        List<Short> three = Arrays.asList((short) 0, (short) 1, (short) 3);
        assertThat(Shorts.toArray(three)).isEqualTo(array);
    
        assertThat(Shorts.toArray(Shorts.asList(array))).isEqualTo(array);
      }
    
      public void testToArray_threadSafe() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        }
    
        // Edge/invalid inputs: null or empty share/service cause IllegalArgumentException (mocked)
        @ParameterizedTest
        @DisplayName("getSmbTree invalid inputs (null/empty) throw IllegalArgumentException")
        @CsvSource({ ",service", // null share
                " ,service", // empty share
                "share,", // null service
                "share, " // empty service
        })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                throws RepositoryMetadataStoreException {
            try {
                updateRepositoryMetadata(localRepository, remoteRepository);
            } catch (IOException | XMLStreamException e) {
                throw new RepositoryMetadataStoreException("Error updating group repository metadata", e);
            }
        }
    
        protected void updateRepositoryMetadata(ArtifactRepository localRepository, ArtifactRepository remoteRepository)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                } catch (final Throwable t) {
                    if (!ComponentUtil.available()) {
                        throw new ContainerNotAvailableException(t);
                    }
                    throw t;
                }
            }
        }
    
        /**
         * Extracts anchor URLs from the given object and converts them to RequestData objects.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        }
    
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, SMB_HANDLER);
            } catch (Exception e) {
                throw new AssertionError(e);
            }
        }
    
        private SmbResourceLocatorImpl locator(String spec) {
            return new SmbResourceLocatorImpl(ctx, smbUrl(spec));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

                        if (tempFile != null && tempFile.exists() && !tempFile.delete()) {
                            logger.warn("Failed to delete {}", tempFile.getAbsolutePath());
                        }
                        throw e1;
                    }
                    return asStream("es_" + ComponentUtil.getSystemHelper().getCurrentTimeAsLong() + ".json").contentTypeOctetStream()
                            .stream(out -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

                        propField.setAccessible(true);
                        propField.set(this, new org.dbflute.helper.jprop.ObjectiveProperties("test"));
                    } catch (Exception e) {
                        throw new RuntimeException("Failed to initialize prop field", e);
                    }
                }
    
                @Override
                public String getIndexFieldTitle() {
                    return "title";
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/JobProcessTest.java

        public void test_callbackExceptionHandling() throws IOException, InterruptedException {
            Process mockProcess = createMockProcess("exception test");
            Consumer<String> faultyCallback = line -> {
                throw new RuntimeException("Callback exception");
            };
    
            JobProcess jobProcess = new JobProcess(mockProcess, 10, faultyCallback);
            InputStreamThread thread = jobProcess.getInputStreamThread();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
        } catch (UnsupportedOperationException ok) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hasher.java

     * resulting {@link HashCode} is dependent only on the bytes inserted, and the order in which they
     * were inserted, not how those bytes were chunked into discrete put() operations. For example, the
     * following three expressions all generate colliding hash codes:
     *
     * {@snippet :
     * newHasher().putByte(b1).putByte(b2).putByte(b3).hash()
     * newHasher().putByte(b1).putBytes(new byte[] { b2, b3 }).hash()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top