- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 399 for sbuf (0.15 sec)
-
src/main/java/jcifs/smb1/smb1/SmbTransport.java
synchronized (BUF) { System.arraycopy( sbuf, 0, BUF, 0, 4 + HEADER_LENGTH ); int size = Encdec.dec_uint16be( BUF, 2 ) & 0xFFFF; if (size < (HEADER_LENGTH + 1) || (4 + size) > rcv_buf_size ) { throw new IOException( "Invalid payload size: " + size ); } int errorCode = Encdec.dec_uint32le( BUF, 9 ) & 0xFFFFFFFF;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 31.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++ ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Wed Jan 18 23:47:00 GMT 2023 - 67K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
TF_FileStatistics* stats, TF_Status* status) { struct stat sbuf; if (stat(path, &sbuf) != 0) { TF_SetStatusFromIOError(status, errno, path); } else { stats->length = sbuf.st_size; stats->mtime_nsec = sbuf.st_mtime * (1000 * 1000 * 1000); stats->is_directory = S_ISDIR(sbuf.st_mode); TF_SetStatus(status, TF_OK, ""); } }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
src/archive/tar/reader.go
buf, err := readSpecialFile(r) if err != nil { return nil, err } sbuf := string(buf) // For GNU PAX sparse format 0.0 support. // This function transforms the sparse format 0.0 headers into format 0.1 // headers since 0.0 headers were not PAX compliant. var sparseMap []string paxHdrs := make(map[string]string) for len(sbuf) > 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0) -
internal/config/identity/openid/jwks.go
return nil, errMalformedJWKRSAKey } // decode exponent ebuf, err := base64.RawURLEncoding.DecodeString(key.E) if err != nil { return nil, errMalformedJWKRSAKey } nbuf, err := base64.RawURLEncoding.DecodeString(key.N) if err != nil { return nil, errMalformedJWKRSAKey } var n, e big.Int n.SetBytes(nbuf) e.SetBytes(ebuf) return &rsa.PublicKey{ E: int(e.Int64()), N: &n,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Apr 02 23:02:35 GMT 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
} doReceiveFragment(stub, isDirect); buf.reset(); buf.setIndex(8); buf.setLength(buf.dec_ndr_short()); if (securityProvider != null) securityProvider.unwrap(buf); buf.setIndex(0); msg.decode_header(buf); off = 24;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 8.8K bytes - Viewed (0) -
cmd/os_unix.go
defer syscall.Close(fd) bufp := direntPool.Get().(*[]byte) defer direntPool.Put(bufp) buf := *bufp boff := 0 // starting read position in buf nbuf := 0 // end valid data in buf for { if boff >= nbuf { boff = 0 stop := globalOSMetrics.time(osMetricReadDirent) nbuf, err = syscall.ReadDirent(fd, buf) stop() if err != nil { if isSysErrNotDir(err) { return nil }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
} /** * @param fbuf * @throws DcerpcException */ private void setupReceivedFragment ( NdrBuffer fbuf ) throws DcerpcException { fbuf.reset(); fbuf.setIndex(8); fbuf.setLength(fbuf.dec_ndr_short()); if ( this.securityProvider != null ) { this.securityProvider.unwrap(fbuf); } } /**
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jun 30 10:11:57 GMT 2019 - 12.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
Java8Compatibility.clear(cbuf); // The default implementation of Reader#read(CharBuffer) allocates a // temporary char[], so we call Reader#read(char[], int, int) instead. int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf); if (read == -1) { lineBuf.finish(); break; } lineBuf.add(buf, 0, read); } return lines.poll(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 3.1K bytes - Viewed (0) -
docs/debugging/inspect/export.go
hdrVer, buf, e := msgp.ReadUintBytes(buf) if e != nil { return 0, buf, e } metaVer, buf, e := msgp.ReadUintBytes(buf) if e != nil { return 0, buf, e } if hdrVer > xlHeaderVersion { return 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl header version %d", metaVer) } if metaVer > xlMetaVersion { return 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl meta version %d", metaVer) }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Nov 08 15:58:02 GMT 2022 - 9.1K bytes - Viewed (0)