- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,047 for hbuf (0.07 sec)
-
src/cmd/dist/buildruntime.go
func mkbuildcfg(file string) { var buf strings.Builder writeHeader(&buf) fmt.Fprintf(&buf, "package buildcfg\n") fmt.Fprintln(&buf) fmt.Fprintf(&buf, "import \"runtime\"\n") fmt.Fprintln(&buf) fmt.Fprintf(&buf, "const defaultGO386 = `%s`\n", go386) fmt.Fprintf(&buf, "const defaultGOAMD64 = `%s`\n", goamd64) fmt.Fprintf(&buf, "const defaultGOARM = `%s`\n", goarm) fmt.Fprintf(&buf, "const defaultGOARM64 = `%s`\n", goarm64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 01:33:19 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } func Utime(path string, buf *Utimbuf) error { tv := []Timeval{ {Sec: buf.Actime}, {Sec: buf.Modtime}, } return Utimes(path, tv) } func utimes(path string, tv *[2]Timeval) (err error) { if tv == nil { return utimensat(AT_FDCWD, path, nil, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6K bytes - Viewed (0) -
src/bytes/buffer_test.go
} // Verify that contents of buf match the string s. func check(t *testing.T, testname string, buf *Buffer, s string) { bytes := buf.Bytes() str := buf.String() if buf.Len() != len(bytes) { t.Errorf("%s: buf.Len() == %d, len(buf.Bytes()) == %d", testname, buf.Len(), len(bytes)) } if buf.Len() != len(str) { t.Errorf("%s: buf.Len() == %d, len(buf.String()) == %d", testname, buf.Len(), len(str)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/format/formatting.go
} buf.WriteString("}") return buf.String() } // FmtRequests produces a golang source expression of the value. func FmtRequests(list []*request.RequestInfo) string { var buf bytes.Buffer buf.WriteString("[]*request.RequestInfo{") for idx, member := range list { if idx > 0 { buf.WriteString(", ") } buf.WriteString(fmt.Sprintf("%#+v", member)) } buf.WriteString("}") return buf.String()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/MIEName.java
if ( buf.length < i + NAME_LEN_SIZE ) { throw new IllegalArgumentException(); } len = 0xff000000 & ( buf[ i++ ] << 24 ); len |= 0x00ff0000 & ( buf[ i++ ] << 16 ); len |= 0x0000ff00 & ( buf[ i++ ] << 8 ); len |= 0x000000ff & buf[ i++ ]; // NAME if ( buf.length < i + len ) { throw new IllegalArgumentException(); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
v := BaseOptions{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeBaseOptions Msgsize() is inaccurate") } vn := BaseOptions{} 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) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 62.6K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance_gen_test.go
v := rebalanceInfo{} var buf bytes.Buffer msgp.Encode(&buf, &v) m := v.Msgsize() if buf.Len() > m { t.Log("WARNING: TestEncodeDecoderebalanceInfo Msgsize() is inaccurate") } vn := rebalanceInfo{} 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) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiItem.java
public String toLineString() { final StringBuilder buf = new StringBuilder(100); if (isUpdated()) { buf.append(quoteEscape(newToken)); buf.append(','); buf.append(quoteEscape(newSegmentation)); buf.append(','); buf.append(quoteEscape(newReading)); buf.append(','); buf.append(quoteEscape(newPos)); } else {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
src/fmt/format.go
// writePadding generates n bytes of padding. func (f *fmt) writePadding(n int) { if n <= 0 { // No padding bytes needed. return } buf := *f.buf oldLen := len(buf) newLen := oldLen + n // Make enough room for padding. if newLen > cap(buf) { buf = make(buffer, cap(buf)*2+n) copy(buf, *f.buf) } // Decide which byte the padding should be filled with. padByte := byte(' ') // Zero padding is allowed only to the left.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 13.8K bytes - Viewed (0) -
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());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4K bytes - Viewed (0)