- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 176 for readInt (0.16 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.server.smaxMpxCount = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.server.maxNumberVcs = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.server.maxBufferSize = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.server.maxRawSize = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
this.resultCode = src[ srcIndex + OPCODE_OFFSET + 1 ] & 0x0F; this.questionCount = readInt2(src, srcIndex + QUESTION_OFFSET); this.answerCount = readInt2(src, srcIndex + ANSWER_OFFSET); this.authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET); this.additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET); return HEADER_LENGTH; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
resultCode = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F; questionCount = readInt2( src, srcIndex + QUESTION_OFFSET ); answerCount = readInt2( src, srcIndex + ANSWER_OFFSET ); authorityCount = readInt2( src, srcIndex + AUTHORITY_OFFSET ); additionalCount = readInt2( src, srcIndex + ADDITIONAL_OFFSET ); return HEADER_LENGTH; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 12.4K bytes - Viewed (0) -
cmd/metacache-stream_test.go
if entry.name != want[i] { t.Errorf("entry %d, want %q, got %q", i, want[i], entry.name) } } } func Test_metacacheReader_readFn(t *testing.T) { r := loadMetacacheSample(t) defer r.Close() i := 0 err := r.readFn(func(entry metaCacheEntry) bool { want := loadMetacacheSampleNames[i] if entry.name != want { t.Errorf("entry %d, want %q, got %q", i, want, entry.name) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 15K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
/* * We overload this because we want readAndXWireFormat to * read the parameter words and bytes. This is so when * commands are batched together we can recursivly call * readAndXWireFormat without reading the non-existent header. */ int decode( byte[] buffer, int bufferIndex ) { int start = headerStart = bufferIndex; bufferIndex += readHeaderWireFormat( buffer, bufferIndex );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
/* * We overload this because we want readAndXWireFormat to * read the parameter words and bytes. This is so when * commands are batched together we can recursivly call * readAndXWireFormat without reading the non-existent header. */ @Override public int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException { int start = this.headerStart = bufferIndex;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Nov 28 10:56:27 GMT 2022 - 14.3K bytes - Viewed (0) -
cmd/metacache-stream.go
select { case <-ctx.Done(): r.err = ctx.Err() return ctx.Err() case dst <- meta: } } } // readFn will return all remaining objects // and provide a callback for each entry read in order // as long as true is returned on the callback. func (r *metacacheReader) readFn(fn func(entry metaCacheEntry) bool) error { r.checkInit() if r.err != nil { return r.err } if r.current.name != "" {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 19.5K bytes - Viewed (0) -
src/archive/zip/reader.go
} r := new(ReadCloser) if err = r.init(f, fi.Size()); err != nil && err != ErrInsecurePath { f.Close() return nil, err } r.f = f return r, err } // NewReader returns a new [Reader] reading from r, which is assumed to // have the given size in bytes. // // If any file inside the archive uses a non-local name // (as defined by [filepath.IsLocal]) or a name containing backslashes
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/archive/zip/zip_test.go
for i := 0; i < len(all); i++ { for j := 0; j < len(all)-i; j++ { buf := make([]byte, j) n, err := b.ReadAt(buf, int64(i)) if err != nil || n != len(buf) { t.Errorf("ReadAt(%d, %d) = %d, %v; want %d, nil", i, j, n, err, len(buf)) } if !bytes.Equal(buf, all[i:i+j]) { t.Errorf("ReadAt(%d, %d) = %q; want %q", i, j, buf, all[i:i+j]) } } } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
this.errorCode = SMBUtil.readInt4(buffer, bufferIndex + SmbConstants.ERROR_CODE_OFFSET); this.flags = buffer[ bufferIndex + SmbConstants.FLAGS_OFFSET ]; this.flags2 = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.FLAGS_OFFSET + 1); this.tid = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.TID_OFFSET); this.pid = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.TID_OFFSET + 2);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 32.7K bytes - Viewed (0)