Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 2,008 for new (0.01 sec)

  1. src/main/java/jcifs/smb1/util/HMACT64.java

        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
        private byte[] opad = new byte[BLOCK_LENGTH];
    
        /**
         * Creates an HMACT64 instance which uses the given secret key material.
         *
         * @param key The key material to use in hashing.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

            case "disni":
                RdmaProvider disniProvider = new DisniRdmaProvider();
                if (disniProvider.isAvailable()) {
                    return disniProvider;
                }
                log.warn("DiSNI RDMA provider requested but not available");
                break;
    
            case "tcp":
                return new TcpRdmaProvider();
    
            default:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/transport/TransportTest.java

                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    
            @Test
            @DisplayName("readn should return 0 when no more bytes available")
            void shouldReturnZeroWhenStreamEmpty() throws IOException {
                InputStream is = new ByteArrayInputStream("Hi".getBytes());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                        } else {
                            populate(new InputStreamReader(new SmbFileInputStream(url)));
                        }
                    } else if (line.startsWith("#BEGIN_ALTERNATE")) {
                        alt++;
                    } else if (line.startsWith("#END_ALTERNATE") && alt > 0) {
                        alt--;
                        throw new IOException("no lmhosts alternate includes loaded");
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/transport/Transport.java

                    state = 0;
                    throw new TransportException("Connection in error", te);
                default:
                    final TransportException te = new TransportException("Invalid state: " + state);
                    state = 0;
                    throw te;
                }
    
                state = 1;
                te = null;
                thread = new Thread(this, name);
                thread.setDaemon(true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

        /**
         * Creates a new source for the specified path.
         *
         * @param path the path to the file
         * @return a new Source instance
         * @throws NullPointerException if path is null
         */
        @Nonnull
        public static Source fromPath(@Nonnull Path path) {
            return new PathSource(requireNonNull(path, "path"));
        }
    
        /**
         * Creates a new build source for the specified path.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        // Tracking maps
        private final Map<String, AccountAttempts> accountAttempts = new ConcurrentHashMap<>();
        private final Map<String, IpAttempts> ipAttempts = new ConcurrentHashMap<>();
        private final AtomicInteger globalAttemptsInCurrentWindow = new AtomicInteger(0);
        private final AtomicLong currentWindowStart = new AtomicLong(System.currentTimeMillis());
    
        // Cleanup scheduler
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

    public class PreauthIntegrityServiceTest {
    
        private PreauthIntegrityService preauthService;
        private SecureRandom secureRandom;
    
        @BeforeEach
        public void setUp() {
            secureRandom = new SecureRandom();
            preauthService = new PreauthIntegrityService(secureRandom, PreauthIntegrityService.HASH_ALGO_SHA512, true);
        }
    
        @AfterEach
        public void tearDown() {
            if (preauthService != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top