Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1731 - 1740 of 1,947 for threw (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

         */
        @Test
        public void testValidNegotiateResponse() throws SMBProtocolDecodingException {
            byte[] validBuffer = createValidNegotiateResponseBuffer();
    
            // Should not throw any exception
            int bytesRead = response.readBytesWireFormat(validBuffer, 0);
    
            assertTrue(bytesRead > 0);
            assertEquals(0x0302, response.getDialectRevision()); // SMB 3.0.2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            callback.store(params, data);
            callback.store(params, data);
    
            assertEquals(3L, callback.getDocumentSize());
            assertEquals(300L, callback.getExecuteTime());
    
            // Test commit (should not throw exception)
            callback.commit();
        }
    
        public void test_multiple_implementations() {
            // Test with different implementations to ensure interface contract
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

                    badWordService.importCsv(reader);
                    suggestHelper.storeAllBadWords(false);
                } catch (final Exception e) {
                    throw new FessSystemException("Failed to import data.", e);
                }
            });
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

      public abstract ImmutableBiMap<V, K> inverse();
    
      @Override
      public ImmutableSet<V> values() {
        return inverse().keySet();
      }
    
      public final @Nullable V forcePut(K key, V value) {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Test engineDigest with buffer too small
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
    
            byte[] buffer = new byte[10];
            // Should throw exception when buffer is too small
            assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10));
        }
    
        @Test
        void testClone() {
            // Test clone() method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            assertEquals(64, newHash.length); // SHA-512 produces 64 bytes
            assertNotEquals(oldHash, newHash); // Should be different instance
        }
    
        /**
         * Test pre-auth integrity with non-SMB3.1.1 should throw exception
         */
        @Test
        @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1")
        void testPreauthWithNonSmb311() throws Exception {
            // Setup SMB3.0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                // Check if transport creation failed
                if (newTransport == null) {
                    throw new IOException("Failed to create new transport");
                }
    
                // Reconnect
                channel.setState(ChannelState.CONNECTING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            artifact.setFile(localFile);
    
            if (!localFile.exists()) {
                if (request.getRemoteRepositories().isEmpty()) {
                    throw new IOException(localFile + " does not exist and no remote repositories are configured");
                }
    
                ArtifactRepository remoteRepo = request.getRemoteRepositories().get(0);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/MoreObjects.java

       */
      public static <T> T firstNonNull(@Nullable T first, @Nullable T second) {
        if (first != null) {
          return first;
        }
        if (second != null) {
          return second;
        }
        throw new NullPointerException("Both parameters are null");
      }
    
      /**
       * Creates an instance of {@link ToStringHelper}.
       *
       * <p>This is helpful for implementing {@link Object#toString()}. Specification by example:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NbtAddress.java

                    this.calledName = null;
                }
            } else {
                this.calledName = null;
            }
    
            return this.calledName;
        }
    
        /*
         * There are three degrees of state that any NbtAddress can have.
         *
         * 1) IP Address - If a dot-quad IP string is used with getByName (or used
         * to create an NbtAddress internal to this netbios package), no query is
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top