Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 2,008 for new (0.02 sec)

  1. src/test/java/jcifs/pac/PacLogonInfoTest.java

            when(logonInfo.getLogonTime()).thenReturn(new Date());
            when(logonInfo.getLogoffTime()).thenReturn(new Date());
            when(logonInfo.getKickOffTime()).thenReturn(new Date());
            when(logonInfo.getPwdLastChangeTime()).thenReturn(new Date());
            when(logonInfo.getPwdCanChangeTime()).thenReturn(new Date());
            when(logonInfo.getPwdMustChangeTime()).thenReturn(new Date());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

            if (responseData == null || !responseData.hasResponseBody()) {
                throw new CrawlingAccessException("No response body.");
            }
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
    
            try (BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) {
                resultData.setData(IOUtils.toByteArray(bis));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

        @Inject
        private ProfileSelector profileSelector;
    
        private List<String> activatedIds = new ArrayList<>();
    
        private List<String> deactivatedIds = new ArrayList<>();
    
        private List<String> defaultIds = new ArrayList<>();
    
        private Map<String, Profile> profilesById = new LinkedHashMap<>();
    
        private Properties requestProperties;
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/rpc.java

                _src.advance(1 * _nodes);
    
                if (this.node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) {
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    }
                    this.node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
                    this.node[_i] = (byte) _src.dec_ndr_small();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            URL txtFile = new File("target/test-classes/source.txt").toURI().toURL();
            UrlSource source = new UrlSource(txtFile);
            try (InputStream is = source.getInputStream();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals("dir/", new SmbFile("smb1://server/share/dir/").getName());
                // Test share name extraction
                assertEquals("share/", new SmbFile("smb1://server/share/").getName());
                // Test server name extraction
                assertEquals("server/", new SmbFile("smb1://server/").getName());
                // Test root name
                assertEquals("smb1://", new SmbFile("smb1://").getName());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 990;
            int length = 10;
    
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, largeData, offset, length);
            byte[] dst = new byte[100];
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacSignature.java

            try {
                final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
                this.type = bufferStream.readInt();
                switch (this.type) {
                case KERB_CHECKSUM_HMAC_MD5:
                    this.checksum = new byte[16];
                    break;
                case HMAC_SHA1_96_AES128:
                case HMAC_SHA1_96_AES256:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/MIEName.java

            // MECH_OID
            if (buf.length < i + len) {
                throw new IllegalArgumentException();
            }
            final byte[] bo = new byte[len];
            System.arraycopy(buf, i, bo, 0, len);
            i += len;
            this.oid = ASN1ObjectIdentifier.getInstance(bo);
    
            // NAME_LEN
            if (buf.length < i + NAME_LEN_SIZE) {
                throw new IllegalArgumentException();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        void testCauseConstructor() {
            // Given
            NoSuchAlgorithmException cause = new NoSuchAlgorithmException("AES-GCM algorithm not available");
    
            // When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(cause);
    
            // Then
            assertSame(cause, exception.getCause(), "Crypto cause should be preserved");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top