Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 986 for till (0.41 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

        void testWithLargeBuffers() {
            // Test with large byte arrays
            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
            for (int i = 0; i < largeRequestBuffer.length; i++) {
                largeRequestBuffer[i] = (byte) (i % 256);
            }
            for (int i = 0; i < largeResponseBuffer.length; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertEquals(1, pairs.size(), "Should start with 1 pair");
    
            AvPairs.remove(pairs, AvPair.MsvAvFlags);
    
            assertEquals(1, pairs.size(), "Should still have 1 pair");
            assertTrue(AvPairs.contains(pairs, AvPair.MsvAvTimestamp), "Should still contain MsvAvTimestamp");
        }
    
        /**
         * Test replace method
         */
        @Test
        @DisplayName("Replace should remove old and add new")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            assertEquals(8, result); // Structure size (2) + offset (2) + length (4)
            assertNotNull(response.getResults());
            // Bug in implementation: when bufferLength is 0, it still tries to decode at least once
            assertEquals(1, response.getResults().length); // Due to implementation bug
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with invalid structure size throws exception")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                this.closeTimeout = Math.max(this.transportContext.getConfig().getNetbiosSoTimeout(), timeout);
            }
            // If socket is still good, the new closeTimeout will
            // be ignored; see tryClose comment.
            if (this.socket == null) {
                this.socket = new DatagramSocket(this.lport, this.laddr);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(128, buffer, 56); // Security buffer offset
            // writeInt2(100000) will truncate to 100000 & 0xFFFF = 34464
            SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation
    
            // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer,
            // let's test the actual validation logic instead
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * legal NetBIOS name string is used a name query request will retreive
         * the IP, node type, and whether or not this NbtAddress represents a
         * group name. This degree of state can be obtained with a Name Query
         * Request or Node Status Request.
         *
         * 3) All - The NbtAddress will be populated with all state such as mac
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbWatchHandle.java

     *
     */
    public interface SmbWatchHandle extends AutoCloseable, Callable<List<FileNotifyInformation>> {
    
        /**
         * Get the next set of changes
         *
         * Will block until the server returns a set of changes that match the given filter. The file will be automatically
         * opened if it is not and should be closed with {@link #close()} when no longer
         * needed.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Hexdump.java

         * method. It is an efficient relative that also will pad the left side so
         * that the result is <code>size</code> digits.
         *
         * @param val the integer value to convert to hexadecimal
         * @param size the desired length of the resulting hex string (will be left-padded with zeros)
         * @return a hexadecimal string representation of the value, padded to the specified size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

         * the expression begins with one or more '?'s then exactly that
         * many characters will be matched whereas if it ends with '?'s
         * it will match that many characters <i>or less</i>.
         * <p>
         * Wildcard expressions will not filter workgroup names or server names.
         *
         * <blockquote>
         *
         * <pre>
         * winnt&gt; ls c?o*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top