Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,217 for differ (0.04 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         * Ensure encode throws NPE when passed a null buffer.
         */
        @Test
        @DisplayName("Encode with null buffer throws NullPointerException")
        public void testEncodeNullBuffer() throws NdrException {
            NdrHyper hyper = new NdrHyper(5L);
            assertThrows(NullPointerException.class, () -> hyper.encode(null));
        }
    
        /**
         * Ensure decode throws NPE when passed a null buffer.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/compression/CompressionService.java

        /**
         * Decompresses data into a provided buffer.
         *
         * @param compressedData the compressed data buffer
         * @param offset the offset in the compressed data buffer
         * @param length the length of compressed data
         * @param outputBuffer the output buffer for decompressed data
         * @param outputOffset the offset in the output buffer
         * @param algorithm the compression algorithm that was used
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. cmd/streaming-v4-unsigned.go

    		}
    		if size > maxChunkSize {
    			cr.err = errChunkTooBig
    			return n, cr.err
    		}
    	}
    
    	if cap(cr.buffer) < size {
    		cr.buffer = make([]byte, size)
    	} else {
    		cr.buffer = cr.buffer[:size]
    	}
    
    	// Now, we read the payload.
    	_, err = io.ReadFull(cr.reader, cr.buffer)
    	if err == io.EOF && size != 0 {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil && err != io.EOF {
    		cr.err = err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                _dst.enc_ndr_referent(this.name.buffer, 1);
                _dst.enc_ndr_short(this.dns_domain.length);
                _dst.enc_ndr_short(this.dns_domain.maximum_length);
                _dst.enc_ndr_referent(this.dns_domain.buffer, 1);
                _dst.enc_ndr_short(this.dns_forest.length);
                _dst.enc_ndr_short(this.dns_forest.maximum_length);
                _dst.enc_ndr_referent(this.dns_forest.buffer, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeTime(testTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(1024L, buffer, 40); // endOfFile
            SMBUtil.writeInt8(2048L, buffer, 48); // allocationSize
            SMBUtil.writeInt4(0x20, buffer, 56); // extFileAttributes
            SMBUtil.writeInt4(512, buffer, 64); // eaSize
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @param length length of data to send
         * @throws IOException if an I/O error occurs
         */
        void send(byte[] buf, int off, int length) throws IOException;
    
        /**
         * Performs a transaction on the pipe.
         *
         * @param buf the buffer containing the transaction data
         * @param off the offset in the buffer
         * @param length the length of data to send
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            SMBUtil.writeInt4(-1000, buffer, bufferIndex + 11);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 15);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 19);
            SMBUtil.writeInt4(-5000, buffer, bufferIndex + 23);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 27);
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
            buffer[bufferIndex + 35] = (byte) 0x80; // 128 as unsigned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

        }
    
        @Override
        protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. docs/sts/web-identity.go

    	flag.StringVar(&clientScopes, "cscopes", "openid", "Client Scopes")
    	flag.IntVar(&port, "port", 8080, "Port")
    }
    
    func implicitFlowURL(c oauth2.Config, state string) string {
    	var buf bytes.Buffer
    	buf.WriteString(c.Endpoint.AuthURL)
    	v := url.Values{
    		"response_type": {"id_token"},
    		"response_mode": {"form_post"},
    		"client_id":     {c.ClientID},
    	}
    	if c.RedirectURL != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                when(mockSmbPipeHandleInternal.recv(buf, 0, buf.length)).thenAnswer(invocation -> {
                    byte[] buffer = invocation.getArgument(0);
                    buffer[0] = 5; // Valid PDU version
                    buffer[1] = 0; // Valid PDU type
                    Encdec.enc_uint16le((short) 50, buffer, 8); // Fragment length
                    return 30; // Initial bytes received
                });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top