Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 347 for sbuf (0.02 seconds)

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

            // create a buffer with count = 0x1234 (4660 decimal)
            // Using little-endian byte order as per SMBUtil.readInt2
            byte[] buf = new byte[12];
            buf[0] = 0x34; // Low byte
            buf[1] = 0x12; // High byte
            int written = resp.readParameterWordsWireFormat(buf, 0);
    
            assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            }
    
            int off = this.handle.recv(buf, 0, buf.length);
            if (buf[0] != 5 || buf[1] != 0) {
                throw new IOException("Unexpected DCERPC PDU header");
            }
    
            final int length = Encdec.dec_uint16le(buf, 8);
            if (length > getMaxRecv()) {
                throw new IOException("Unexpected fragment length: " + length);
            }
    
            while (off < length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java

            }
            final StringBuilder buf = new StringBuilder(100);
            for (final Object arg : methodArgs) {
                if (arg != null) {
                    buf.append(arg.getClass().getName());
                } else {
                    buf.append("null");
                }
                buf.append(", ");
            }
            buf.setLength(buf.length() - 2);
            return new String(buf);
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            buf[6] = 2; // parameterCount low
            buf[7] = 0; // high
            buf[8] = 4; // parameterOffset low
            buf[9] = 0; // high
            buf[10] = 6; // parameterDisplacement low
            buf[11] = 0; // high
            buf[12] = 7; // dataCount low
            buf[13] = 0; // high
            buf[14] = 8; // dataOffset low
            buf[15] = 0; // high
            buf[16] = 9; // dataDisplacement low
            buf[17] = 0; // high
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            request.setParameter("userCode", buf.toString());
            assertNotNull(userInfoHelper.getUserCodeFromRequest(request));
            buf.append("12345ABCDE");
            request.setParameter("userCode", buf.toString());
            assertNotNull(userInfoHelper.getUserCodeFromRequest(request));
            buf.append("12345ABCDE");
            request.setParameter("userCode", buf.toString());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

        public ExecJob gcLogging() {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("-Xlog:gc*,gc+age=trace,safepoint:file=");
            if (logFilePath != null) {
                buf.append(logFilePath);
            } else {
                buf.append(ComponentUtil.getSystemHelper().getLogFilePath());
            }
            buf.append(File.separator);
            buf.append("gc-").append(getExecuteType()).append(".log");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/BufferCacheImpl.java

            synchronized (this.cache) {
                byte[] buf;
    
                if (this.freeBuffers > 0) {
                    for (int i = 0; i < this.cache.length; i++) {
                        if (this.cache[i] != null) {
                            buf = (byte[]) this.cache[i];
                            this.cache[i] = null;
                            this.freeBuffers--;
                            return buf;
                        }
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

         */
        private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, buf, start, SMBUtil.SMB2_HEADER.length);
            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
            // Flags at +16: server-to-redirector
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. internal/dsync/lock-args_gen_test.go

    	v := LockArgs{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeLockArgs Msgsize() is inaccurate")
    	}
    
    	vn := LockArgs{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            Encdec.enc_uint32le(len + 1, this.buf, i);
            i += 4;
            Encdec.enc_uint32le(0, this.buf, i);
            i += 4;
            Encdec.enc_uint32le(len + 1, this.buf, i);
            i += 4;
            System.arraycopy(Strings.getUNIBytes(s), 0, this.buf, i, len * 2);
            i += len * 2;
            this.buf[i] = (byte) '\0';
            i++;
            this.buf[i++] = (byte) '\0';
            advance(i - this.index);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
Back to Top