- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 135 for WriteString (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/ringbuffer/ring_buffer.go
return 0 } return r.size } if r.w < r.r { return r.r - r.w } return r.size - r.w + r.r } // WriteString writes the contents of the string s to buffer, which accepts a slice of bytes. func (r *RingBuffer) WriteString(s string) (n int, err error) { x := (*[2]uintptr)(unsafe.Pointer(&s)) h := [3]uintptr{x[0], x[1], x[1]} buf := *(*[]byte)(unsafe.Pointer(&h))Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
src/bufio/bufio.go
// Can only happen if buffer is silly small. return b.WriteString(string(r)) } } size = utf8.EncodeRune(b.buf[b.n:], r) b.n += size return size, nil } // WriteString writes a string. // It returns the number of bytes written. // If the count is less than len(s), it also returns an error explaining // why the write is short. func (b *Writer) WriteString(s string) (int, error) { var sw io.StringWriter
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 06 17:28:40 GMT 2026 - 22K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
dst[dstIndex++] = this.securityFlags; return dstIndex - start; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { int n = writeString(this.path, dst, dstIndex); SMBUtil.writeInt2(this.isUseUnicode() ? this.path.length() * 2 : n, dst, this.namelen_index); return n; } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* @param dst the destination buffer * @param dstIndex the starting offset in the buffer * @return the number of bytes written */ protected int writeString(final String str, final byte[] dst, final int dstIndex) { return writeString(str, dst, dstIndex, this.useUnicode); } /** * Writes a string to the destination buffer with specified encoding. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
internal/ringbuffer/ring_buffer_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; if (this.getCommand() == SMB_COM_TRANSACTION && !isResponse()) { dstIndex += writeString(this.name, dst, dstIndex); } int end = dstIndex + this.pad1; if (this.parameterCount > 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (0) -
api/go1.6.txt
pkg net/http, type Transport struct, TLSNextProto map[string]func(string, *tls.Conn) RoundTripper pkg net/http, var ErrSkipAltProtocol error pkg net/http/httptest, method (*ResponseRecorder) WriteString(string) (int, error) pkg net/http/httputil, type BufferPool interface { Get, Put } pkg net/http/httputil, type BufferPool interface, Get() []uint8 pkg net/http/httputil, type BufferPool interface, Put([]uint8)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 13 23:40:13 GMT 2016 - 12.9K bytes - Click Count (0) -
clause/expression.go
builder.WriteQuoted(in.Column) switch len(in.Values) { case 0: builder.WriteString(" IN (NULL)") case 1: if _, ok := in.Values[0].([]interface{}); !ok { builder.WriteString(" = ") builder.AddVar(builder, in.Values[0]) break } fallthrough default: builder.WriteString(" IN (") builder.AddVar(builder, in.Values...) builder.WriteByte(')') } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Nov 04 07:04:52 GMT 2025 - 8K bytes - Click Count (0) -
clause/on_conflict.go
builder.WriteString(" WHERE ") onConflict.TargetWhere.Build(builder) builder.WriteByte(' ') } } if onConflict.DoNothing { builder.WriteString("DO NOTHING") } else { builder.WriteString("DO UPDATE SET ") onConflict.DoUpdates.Build(builder) } if len(onConflict.Where.Exprs) > 0 { builder.WriteString(" WHERE ") onConflict.Where.Build(builder) builder.WriteByte(' ') } }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Oct 07 05:46:20 GMT 2022 - 1.3K bytes - Click Count (0) -
clause/where.go
if len(not.Exprs) > 1 { builder.WriteByte(')') } } else { builder.WriteString("NOT ") if len(not.Exprs) > 1 { builder.WriteByte('(') } for idx, c := range not.Exprs { if idx > 0 { switch c.(type) { case OrConditions: builder.WriteString(OrWithSpace) default: builder.WriteString(AndWithSpace) } } e, wrapInParentheses := c.(Expr)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 5.1K bytes - Click Count (0)