Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 717 for encoded (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            long expectedOffset = expectedInt; // Sign extension happens here for negative values
            assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value");
            assertEquals(4, readLen, "Byte count returned should be 4");
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    return; // no NTLM
                }
                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
                    connection.setRequestProperty(authProperty, authMethod + ' ' + Base64.encode(type1.toByteArray()));
                    connection.connect(); // send type 1
                    response = parseResponseCode();
                    if (response != HTTP_UNAUTHORIZED && response != HTTP_PROXY_AUTH) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

        @Override
        public int size() {
            // Context header (16) + name length (4) + padding to 8-byte alignment + data (16)
            return 16 + 4 + 4 + STRUCTURE_SIZE;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

    import okhttp3.Headers
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    import okhttp3.internal.connection.RealCall
    import okio.Sink
    import okio.Socket
    import okio.Source
    
    /** Encodes HTTP requests and decodes HTTP responses. */
    interface ExchangeCodec {
      /** The connection or CONNECT tunnel that owns this codec. */
      val carrier: Carrier
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/RangeTest.java

        // overlap below
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(2, 6)));
    
        // enclosed with same start
        assertEquals(Range.closed(4, 6), range.intersection(Range.closed(4, 6)));
    
        // enclosed, interior
        assertEquals(Range.closed(5, 7), range.intersection(Range.closed(5, 7)));
    
        // enclosed with same end
        assertEquals(Range.closed(6, 8), range.intersection(Range.closed(6, 8)));
    
        // equal
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

                SMBUtil.writeInt4(0, dst, inBufferLengthOffset);
            } else {
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, inBufferOffsetOffset);
                final int len = this.inputBuffer.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inBufferLengthOffset);
                dstIndex += len;
            }
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

        }
    
        /**
         * Test constructor AvSingleHost(byte[] customData, byte[] machineId).
         * Should correctly encode custom data and machine ID.
         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor() {
            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[7] = 0x08;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbFileInputStream;
    import jcifs.smb1.smb1.SmbFileOutputStream;
    import jcifs.smb1.smb1.SmbNamedPipe;
    import jcifs.smb1.util.Encdec;
    
    /**
     * DCERPC handle implementation using SMB named pipes for transport
     */
    public class DcerpcPipeHandle extends DcerpcHandle {
    
        SmbNamedPipe pipe;
        SmbFileInputStream in = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            return dstIndex - start;
        }
    
        @Override
        protected int writeDataWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dstIndex += this.info.encode(dst, dstIndex);
    
            /* 6 zeros observed with NT */
            SMBUtil.writeInt8(0L, dst, dstIndex);
            dstIndex += 6;
    
            /*
             * Also observed 4 byte alignment but we stick
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. ci/official/requirements_updater/requirements.in

    # Note that we must use nightly here as these are used in nightly jobs
    # For release jobs, we will pin these on the release branch
    keras-nightly ~= 3.10.0.dev
    tb-nightly ~= 2.20.0.a
    # For new protobuf, if V.x.y is gencode version, then runtime version U must be
    # V <= U <= V+1
    # More info at https://protobuf.dev/support/cross-version-runtime-guarantee/
    protobuf >= 5.28.0, < 7.0
    # Test dependencies
    grpcio >= 1.68.1, < 2.0
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Sep 03 23:57:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top