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/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)
  3. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    if (context == null) {
                        context = new byte[8];
                    }
                }
                int data = 32;
                if (context != null) {
                    data += 8;
                }
                if (targetInformation != null) {
                    data += 8;
                }
                final byte[] type2 = new byte[data + target.length + (targetInformation != null ? targetInformation.length : 0)];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useMultiChannel", "false");
    
            PropertyConfiguration config = new PropertyConfiguration(props);
            assertFalse(config.isUseMultiChannel());
    
            props.setProperty("jcifs.smb.client.useMultiChannel", "true");
            config = new PropertyConfiguration(props);
            assertTrue(config.isUseMultiChannel());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]);
            propertiesFile.deleteOnExit();
            DynamicProperties systemProps = new DynamicProperties(propertiesFile);
            ComponentUtil.register(systemProps, "systemProperties");
            userAgentHelper = new UserAgentHelper();
            ComponentUtil.register(userAgentHelper, "userAgentHelper");
            pathMappingHelper = new PathMappingHelper();
            pathMappingHelper.init();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

      public final String clientSecret;
      public final int port;
    
      public SlackApi(String clientId, String clientSecret, int port) {
        this.httpClient = new OkHttpClient.Builder()
            .build();
        this.moshi = new Moshi.Builder()
            .add(new SlackJsonAdapters())
            .build();
        this.clientId = clientId;
        this.clientSecret = clientSecret;
        this.port = port;
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

        void messageAndCauseConstructor_setsMessageCause_andUnsuccessfulStatus(String msg) {
            // Arrange
            Throwable cause = new IllegalStateException("root cause");
    
            // Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException(msg, cause);
    
            // Assert
            if (msg == null) {
                assertNull(ex.getMessage(), "Null message should remain null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. 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)
Back to top