- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for srcbuf (0.3 sec)
-
src/text/scanner/scanner.go
// Typically, token text is stored completely in srcBuf, but in general // the token text's head may be buffered in tokBuf while the token text's // tail is stored in srcBuf. tokBuf bytes.Buffer // token text head that is not in srcBuf anymore tokPos int // token text tail position (srcBuf index); valid if >= 0 tokEnd int // token text tail end (srcBuf index) // One character look-ahead
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
src/crypto/aes/gcm_s390x.go
// buffer for counter values. var ctrbuf, srcbuf [2048]byte for len(src) >= 16 { siz := len(src) if len(src) > len(ctrbuf) { siz = len(ctrbuf) } siz &^= 0xf // align siz to 16-bytes copy(srcbuf[:], src[:siz]) cryptBlocksGCM(g.block.function, g.block.key, dst[:siz], srcbuf[:siz], ctrbuf[:], cnt) src = src[siz:] dst = dst[siz:] } if len(src) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/object-api-utils_test.go
} var decBuf bytes.Buffer decRdr := s2.NewReader(&rdrBuf) _, err = io.Copy(&decBuf, decRdr) if err != nil { t.Fatal(err) } if !bytes.Equal(tt.data, decBuf.Bytes()) { t.Errorf("roundtrip failed\n\t%q\n\t%q", tt.data, decBuf.Bytes()) } }) } } func Test_pathNeedsClean(t *testing.T) { type pathTest struct {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.4K bytes - Viewed (0) -
src/runtime/tracestack.go
} else if len(pcBuf) > 0 && pcBuf[0] == logicalStackSentinel { // pcBuf contains logical rather than inlined frames, skip has already been // applied, just return it without the sentinel value in pcBuf[0]. return copy(dst, pcBuf[1:]) } var ( n int lastFuncID = abi.FuncIDNormal skip = pcBuf[0] // skipOrAdd skips or appends retPC to newPCBuf and returns true if more // pcs can be added.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
src/syscall/exec_plan9.go
childerror: // send error string on pipe RawSyscall(SYS_ERRSTR, uintptr(unsafe.Pointer(&errbuf[0])), uintptr(len(errbuf)), 0) childerror1: errbuf[len(errbuf)-1] = 0 i = 0 for i < len(errbuf) && errbuf[i] != 0 { i++ } RawSyscall6(SYS_PWRITE, uintptr(pipe), uintptr(unsafe.Pointer(&errbuf[0])), uintptr(i), ^uintptr(0), ^uintptr(0), 0) for { RawSyscall(SYS_EXITS, 0, 0, 0) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
for (int i = 0; i < PyList_GET_SIZE(py_denylist); ++i) { PyObject* value = PyList_GetItem(py_denylist, i); char* str_buf; Py_ssize_t length; if (ConvertFromPyString(value, &str_buf, &length) == -1) { return -1; } string_set->emplace(str_buf, length); } } if (PySet_Check(py_denylist)) { auto* tmp = PySet_New(py_denylist); while (PySet_GET_SIZE(tmp)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/internal/dwarf/dwarf.go
b := sevenBitU(v) if b == nil { var encbuf [20]byte b = AppendUleb128(encbuf[:0], uint64(v)) } ctxt.AddBytes(s, b) } // Sleb128put appends v to s using DWARF's signed LEB128 encoding. func Sleb128put(ctxt Context, s Sym, v int64) { b := sevenBitS(v) if b == nil { var encbuf [20]byte b = AppendSleb128(encbuf[:0], v) } ctxt.AddBytes(s, b) } /*
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 43K bytes - Viewed (0) -
src/internal/trace/trace_test.go
// and stderr is an expectation in string format. var traceBuf, errBuf bytes.Buffer cmd.Stdout = &traceBuf cmd.Stderr = &errBuf // Run the program. if err := cmd.Run(); err != nil { if errBuf.Len() != 0 { t.Logf("stderr: %s", string(errBuf.Bytes())) } t.Fatal(err) } tb := traceBuf.Bytes() // Test the trace and the parser.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu May 30 06:58:45 UTC 2024 - 40.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
} protected LoginCredential processAuthenticationData(final HttpServletRequest request) { final StringBuffer urlBuf = request.getRequestURL(); final String queryStr = request.getQueryString(); if (queryStr != null) { urlBuf.append('?').append(queryStr); } final Map<String, List<String>> params = new HashMap<>();
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 28.1K bytes - Viewed (0)