- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,280 for Byte (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java
private static final long serialVersionUID = 1L; private String transformerName; private byte[] data; private String encoding; private Set<RequestData> childUrlSet = new LinkedHashSet<>(); public byte[] getData() { return data; } public void setData(final byte[] data) { this.data = data; } public void addUrl(final RequestData url) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} public void testReset() throws Exception { byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); ByteSource source = out.asByteSource(); out.write(data); assertTrue(Arrays.equals(data, source.read())); out.reset(); assertTrue(Arrays.equals(new byte[0], source.read())); out.write(data);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/object_api_suite_test.go
) // Return pointer to testOneByteReadEOF{} func newTestReaderEOF(data []byte) io.Reader { return &testOneByteReadEOF{false, data} } // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error. type testOneByteReadEOF struct { eof bool data []byte } func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 02 15:13:05 UTC 2024 - 33.3K bytes - Viewed (0) -
internal/s3select/json/preader.go
// return the buffer until the next newline occurs. // The last block will be sent along with an io.EOF. func (r *PReader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip { dst = make([]byte, 0, skip+1024) } dst = dst[:skip] if skip > 0 { n, err := io.ReadFull(r.buf, dst) if err != nil && err != io.ErrUnexpectedEOF {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java
super(config); } @Override protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int writeDataWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java
} @Override protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int writeDataWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
len = 0xff00 & ( buf[ i++ ] << 8 ); len |= 0xff & buf[ i++ ]; // MECH_OID if ( buf.length < i + len ) { throw new IllegalArgumentException(); } byte[] bo = new byte[len]; System.arraycopy(buf, i, bo, 0, len); i += len; this.oid = ASN1ObjectIdentifier.getInstance(bo); // NAME_LEN if ( buf.length < i + NAME_LEN_SIZE ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
} @Override protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) { return 0; } @Override protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) { int start = bufferIndex;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} if ( this.sbuf[ 0 ] == (byte) 0x00 && this.sbuf[ 1 ] == (byte) 0x00 && ( this.sbuf[ 4 ] == (byte) 0xFF ) && this.sbuf[ 5 ] == (byte) 'S' && this.sbuf[ 6 ] == (byte) 'M' && this.sbuf[ 7 ] == (byte) 'B' ) { break; /* all good (SMB) */ } /* out of phase maybe? */ /* inch forward 1 byte and try again */ for ( int i = 0; i < 35; i++ ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
internal/handlers/forwarder.go
} type bufPool struct { sz int pool sync.Pool } func (b *bufPool) Put(buf []byte) { if cap(buf) < b.sz || cap(buf) > b.sz*2 { // Buffer too small or will likely leak memory after being expanded. // Drop it. return } b.pool.Put(&buf) } func (b *bufPool) Get() []byte { bufp := b.pool.Get().(*[]byte) return (*bufp)[:b.sz] } func newBufPool(sz int) httputil.BufferPool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 07 05:42:10 UTC 2023 - 5.6K bytes - Viewed (0)