Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1181 - 1190 of 3,637 for throwIf (0.07 seconds)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         * @return the number of bytes read
         * @throws SMBProtocolDecodingException if decoding fails
         */
        protected int readErrorResponse(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 9) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            fileTypeHelper = new FileTypeHelper();
        }
    
        @Test
        public void test_init() {
            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         * {@code <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the
         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 21:57:56 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  4. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

        private boolean foundError;
    
        @InputFile
        public RegularFileProperty getPomFile() {
            return pomFile;
        }
    
        @TaskAction
        public void checkPom() throws Exception {
            try (FileReader fileReader = new FileReader(pomFile.getAsFile().get())) {
                MavenXpp3Reader reader = new MavenXpp3Reader();
                Model model = reader.read(fileReader);
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/service/CrawlingInfoServiceTest.java

     */
    public class CrawlingInfoServiceTest extends UnitFessTestCase {
    
        private CrawlingInfoService crawlingInfoService;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            crawlingInfoService = new CrawlingInfoService();
        }
    
        @Test
        public void test_defaultConstructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessClient.java

        /**
         * Creates a new witness client.
         *
         * @param witnessServer the witness server address
         * @param context the CIFS context
         * @throws IOException if initialization fails
         */
        public WitnessClient(InetAddress witnessServer, CIFSContext context) throws IOException {
            this(witnessServer, context, new WitnessRpcClient(witnessServer, context));
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testReadOperationsWithNullBuffer() {
                // Read operations return 0 when given null buffer - no exceptions thrown
                assertEquals(0, response.readSetupWireFormat(null, 0, 0));
                assertEquals(0, response.readParametersWireFormat(null, 0, 0));
    
                // readDataWireFormat will throw when accessing null buffer
                assertThrows(NullPointerException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableSortedSet.java

          }
        }
        return containsAll(that);
      }
    
      @Override
      public E first() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(0);
      }
    
      @Override
      public E last() {
        if (isEmpty()) {
          throw new NoSuchElementException();
        }
        return elements.get(size() - 1);
      }
    
      @Override
      public @Nullable E lower(E element) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

    public class ImplementedInvokerAssistantTest extends UnitFessTestCase {
    
        private ImplementedInvokerAssistant invokerAssistant;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            invokerAssistant = new ImplementedInvokerAssistant();
        }
    
        // Test constructor
        @Test
        public void test_constructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

       *       ClassPath} searches the files from the {@code java.class.path} system property.
       * </ul>
       *
       * @throws IOException if the attempt to read class path resources (jar files or directories)
       *     failed.
       */
      public static ClassPath from(ClassLoader classloader) throws IOException {
        ImmutableSet<LocationInfo> locations = locationsFrom(classloader);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
Back to Top