- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for tmpBuf (0.31 sec)
-
src/runtime/heapdump.go
if uintptr(len(tmpbuf)) < nptr/8+1 { if tmpbuf != nil { sysFree(unsafe.Pointer(&tmpbuf[0]), uintptr(len(tmpbuf)), &memstats.other_sys) } n := nptr/8 + 1 p := sysAlloc(n, &memstats.other_sys) if p == nil { throw("heapdump: out of memory") } tmpbuf = (*[1 << 30]byte)(p)[:n] } // Convert heap bitmap to pointer bitmap. clear(tmpbuf[:nptr/8+1]) s := spanOf(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 17.6K bytes - Viewed (0) -
src/runtime/string.go
return s } func concatstring2(buf *tmpBuf, a0, a1 string) string { return concatstrings(buf, []string{a0, a1}) } func concatstring3(buf *tmpBuf, a0, a1, a2 string) string { return concatstrings(buf, []string{a0, a1, a2}) } func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string { return concatstrings(buf, []string{a0, a1, a2, a3}) } func concatstring5(buf *tmpBuf, a0, a1, a2, a3, a4 string) string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0) -
src/runtime/debuglog.go
s.first = false } end, _, nano, p := s.header() oldEnd := s.end s.end = end print("[") var tmpbuf [21]byte pnano := int64(nano) - runtimeInitTime if pnano < 0 { // Logged before runtimeInitTime was set. pnano = 0 } pnanoBytes := itoaDiv(tmpbuf[:], uint64(pnano), 9) print(slicebytetostringtmp((*byte)(noescape(unsafe.Pointer(&pnanoBytes[0]))), len(pnanoBytes)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 18.3K bytes - Viewed (0) -
src/runtime/string_test.go
// license that can be found in the LICENSE file. package runtime_test import ( "runtime" "strconv" "strings" "testing" "unicode/utf8" ) // Strings and slices that don't escape and fit into tmpBuf are stack allocated, // which defeats using AllocsPerRun to test other optimizations. const sizeNoStack = 100 func BenchmarkCompareStringEqual(b *testing.B) { bytes := []byte("Hello Gophers!")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 13 14:05:23 UTC 2022 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/MonitorTarget.java
tempBuf.append(((Short) value).shortValue()); } else if (value instanceof double[]) { tempBuf.append(Arrays.toString((double[]) value)); } else { tempBuf.append('"').append(StringEscapeUtils.escapeJson(value.toString())).append('"'); } } catch (final Exception e) { tempBuf.append("null"); } buf.append(tempBuf.toString());
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java
final String hotThreads = response.getNodesMap().entrySet().stream().map(e -> { final StringBuilder tempBuf = new StringBuilder(); append(tempBuf, StringEscapeUtils.escapeJson(e.getKey()), () -> StringEscapeUtils.escapeJson(e.getValue().getHotThreads())); return tempBuf.toString(); }).collect(Collectors.joining(",")); buf.append(hotThreads).append(',');
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.1K bytes - Viewed (0) -
src/mime/multipart/formdata.go
remainingSize, err := io.CopyBuffer(writerOnly{file}, p, copyBuf) if err != nil { return nil, err } fh.tmpfile = file.Name() fh.Size = int64(b.Len()) + remainingSize fh.tmpoff = fileOff fileOff += fh.Size if !combineFiles { if err := file.Close(); err != nil { return nil, err } file = nil } } else { fh.content = b.Bytes()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 7.7K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm_arm64_test.go
func TestPCALIGN(t *testing.T) { testenv.MustHaveGoBuild(t) dir, err := os.MkdirTemp("", "testpcalign") if err != nil { t.Fatal(err) } defer os.RemoveAll(dir) tmpfile := filepath.Join(dir, "test.s") tmpout := filepath.Join(dir, "test.o") code1 := []byte("TEXT ·foo(SB),$0-0\nMOVD $0, R0\nPCALIGN $8\nMOVD $1, R1\nRET\n") code2 := []byte("TEXT ·foo(SB),$0-0\nMOVD $0, R0\nPCALIGN $16\nMOVD $2, R2\nRET\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:46:11 UTC 2023 - 7.8K bytes - Viewed (0) -
src/cmd/internal/obj/x86/asm_test.go
// code can be aligned to the alignment value. func TestPCALIGN(t *testing.T) { testenv.MustHaveGoBuild(t) dir := t.TempDir() tmpfile := filepath.Join(dir, "test.s") tmpout := filepath.Join(dir, "test.o") var testCases = []struct { name string code string out string }{ { name: "8-byte alignment",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 28 19:39:51 UTC 2023 - 9.2K bytes - Viewed (0) -
src/runtime/defs_aix.go
type stackt C.stack_t type sigcontext C.struct_sigcontext type ucontext C.ucontext_t type _Ctype_struct___extctx uint64 // ucontext use a pointer to this structure but it shouldn't be used type jmpbuf C.struct___jmpbuf type context64 C.struct___context64 type sigactiont C.struct_sigaction type tstate C.struct_tstate type rusage C.struct_rusage type pthread C.pthread_t type pthread_attr C.pthread_attr_t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 21:27:51 UTC 2023 - 4.2K bytes - Viewed (0)