Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 4,619 for _new (0.02 sec)

  1. src/main/java/jcifs/util/PathValidator.java

            if (smbUrl == null || smbUrl.isEmpty()) {
                throw new SmbException("SMB URL cannot be null or empty");
            }
    
            // Check URL format
            if (!smbUrl.toLowerCase().startsWith("smb://")) {
                throw new SmbException("Invalid SMB URL format");
            }
    
            try {
                URL url = new URL(null, smbUrl, new jcifs.smb.Handler());
    
                // Validate host
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(new BigDecimal("100"), BigDecimalConversionUtil.toBigDecimal(Integer.valueOf(100)));
            assertEquals(new BigDecimal("1000"), BigDecimalConversionUtil.toBigDecimal(Long.valueOf(1000L)));
    
            assertEquals(0, new BigDecimal("0.1").compareTo(BigDecimalConversionUtil.toBigDecimal(Float.valueOf(0.1F))));
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationTest.java

            SmbAuthentication smbAuthentication;
    
            smbAuthentication = new SmbAuthentication();
            assertEquals("smb1://", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
            assertEquals("smb1://hoge/", smbAuthentication.getPathPrefix());
    
            smbAuthentication = new SmbAuthentication();
            smbAuthentication.setServer("hoge");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Given
            SecureKeyManager keyManager = new SecureKeyManager();
            byte[] encKey = new byte[16];
            byte[] decKey = new byte[16];
            new SecureRandom().nextBytes(encKey);
            new SecureRandom().nextBytes(decKey);
    
            Smb2EncryptionContext context =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            List<FileNotifyInformation> info = new ArrayList<>();
            NotifyResponse resp = mock(NotifyResponse.class);
            when(resp.isReceived()).thenReturn(true);
            when(resp.getErrorCode()).thenReturn(0);
            when(resp.getNotifyInformation()).thenReturn(info);
            setupSmb2(resp, new byte[16]);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            // Test multiple instantiations with different constructors
            SearchQueryException exception1 = new SearchQueryException("Exception 1");
            SearchQueryException exception2 = new SearchQueryException("Exception 2", new Exception("Cause 2"));
            SearchQueryException exception3 = new SearchQueryException(new Exception("Cause 3"));
    
            assertNotSame(exception1, exception2);
            assertNotSame(exception2, exception3);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        void testType1MessageFromBytes() throws IOException {
            // Given - Create a Type 1 message and convert to bytes
            Type1Message original = new Type1Message(mockContext);
            byte[] messageBytes = original.toByteArray();
    
            // When
            Type1Message parsed = new Type1Message(messageBytes);
    
            // Then
            // Note: getType() method does not exist in Type1Message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

            return asJson(new ApiResult.ApiConfigResponse().setting(roleService.getRole(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Creates a new role setting.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Create stream with a message containing data
            byte[] data = new byte[] { 1, 2 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Reading with zero-length array should return 0 without consuming data
            assertEquals(0, sis.read(new byte[0]));
    
            // Verify data can still be read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        void testWriteSetupWireFormat() {
            byte[] buffer = new byte[100];
            int result = response.writeSetupWireFormat(buffer, 0);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat returns 0")
        void testWriteParametersWireFormat() {
            byte[] buffer = new byte[100];
            int result = response.writeParametersWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top