Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 801 for wire (0.1 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

         * correctly and updates all relevant members.
         */
        @Test
        public void readParameterWordsWireFormat_parsesHeaderCorrectly() {
            DummyResponse d = new DummyResponse();
            // Construct a minimal wire format buffer
            byte[] buf = new byte[32];
            int idx = 0;
            // Write values little-endian
            buf[idx++] = 5; // totalParameterCount low byte
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            int size = request.size();
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 64;
            int expectedSize = (expectedRawSize + 7) & ~7;
            assertEquals(expectedSize, size);
    
            // Test wire format writing
            byte[] buffer = new byte[512];
            int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
            // Verify all fields in the buffer
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    Gradle plugin are to use lazy types (ConfigurableFileCollection, Provider API, domain object containers) when defining configurable parts of a plugin (tasks, extensions, domain objects).  The Provider API provides a consistent way to set conventions, wire related configuration together (extension <- domain object <- task) and avoid evaluation ordering problems.
    
    The Gradle codebase has evolved over time and has a mixture of simple getter/setter methods, Provider API and things in between.  It...
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            for (int i = startIndex + bytesWritten; i < dst.length; i++) {
                assertEquals((byte) (i & 0xFF), dst[i]);
            }
        }
    
        @Test
        @DisplayName("Test setup wire format structure")
        void testSetupWireFormatStructure() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xABCD, 0x12345678, true);
            byte[] dst = new byte[100];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

         *
         * 1) IP Address - If a dot-quad IP string is used with getByName (or used
         * to create an NbtAddress internal to this netbios package), no query is
         * sent on the wire and the only state this object has is it's IP address
         * (but that's enough to connect to a host using *SMBSERVER for CallingName).
         *
         * 2) IP Address, NetBIOS name, nodeType, groupName - If however a
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                /* This is almost exactly like InetAddress.java. See the
                 * comments there for a description of how the LOOKUP_TABLE prevents
                 * redundant queries from going out on the wire.
                 */
                if (addr == null) {
                    try {
                        addr = CLIENT.getByName(name, svr);
                    } catch (final UnknownHostException uhe) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
  7. docs/smb3-features/01-smb3-lease-design.md

        private int leaseState;
        private int leaseFlags;
        private long leaseDuration;  // For V2
        private Smb2LeaseKey parentLeaseKey;  // For V2
        private int epoch;  // For V2
        
        // Wire format structure
        // Lease V1: 32 bytes
        // Lease V2: 52 bytes
        
        @Override
        public void encode(byte[] buffer, int offset) {
            // Write context header
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       *   challenge. In this case the request URL may be different than the initial request URL.
       *
       * Use the `request` of the [networkResponse] field to get the wire-level request that was
       * transmitted. In the case of follow-ups and redirects, also look at the `request` of the
       * [priorResponse] objects, which have its own [priorResponse].
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            assertEquals(0, trans2QueryFSInfo.readParametersWireFormat(null, 0, 0));
            assertEquals(0, trans2QueryFSInfo.readDataWireFormat(null, 0, 0));
        }
    
        @Test
        @DisplayName("Test complete wire format writing")
        void testCompleteWireFormatWriting() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO);
    
            byte[] setupBuffer = new byte[256];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            int actualInfoLevel = SMBUtil.readInt2(buffer, 2);
            assertEquals(0x0101, actualInfoLevel); // FILE_BASIC_INFO maps to 0x0101
        }
    
        @Test
        @DisplayName("Test complete wire format writing")
        void testCompleteWireFormatWriting() {
            when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top