- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 92 for msglen (0.61 sec)
-
internal/grid/msg_gen.go
Klaus Post <******@****.***> 1700528975 -0800
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 18.8K bytes - Viewed (0) -
src/syscall/js/js_test.go
src := make([]byte, tt.srcLen) if tt.srcLen >= 2 { src[1] = 42 } dst := js.Global().Get("Uint8Array").New(tt.dstLen) if got, want := js.CopyBytesToJS(dst, src), tt.copyLen; got != want { t.Errorf("copied %d, want %d", got, want) } if tt.dstLen >= 2 { if got, want := dst.Index(1).Int(), 42; got != want { t.Errorf("got %d, want %d", got, want)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
src/internal/xcoff/file.go
if _, err := s.sr.Seek(0, io.SeekStart); err != nil { return nil, err } var stlen uint32 var stoff uint64 var nsyms uint32 var symoff uint64 switch f.TargetMachine { case U802TOCMAGIC: lhdr := new(LoaderHeader32) if err := binary.Read(s.sr, binary.BigEndian, lhdr); err != nil { return nil, err } stlen = lhdr.Lstlen stoff = uint64(lhdr.Lstoff) nsyms = lhdr.Lnsyms symoff = LDHDRSZ_32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 12 14:42:29 UTC 2024 - 17.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/lookup.go
[maxLen]byte{'i', '-', 'b', 'n', 'n'}: _bnn, // i-bnn [maxLen]byte{'i', '-', 'h', 'a', 'k'}: _hak, // i-hak [maxLen]byte{'i', '-', 'k', 'l', 'i', 'n', 'g', 'o', 'n'}: _tlh, // i-klingon [maxLen]byte{'i', '-', 'l', 'u', 'x'}: _lb, // i-lux [maxLen]byte{'i', '-', 'n', 'a', 'v', 'a', 'j', 'o'}: _nv, // i-navajo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/os_freebsd.go
oid := [2]uint32{_CTL_QUERY, _CTL_QUERY_MIB} miblen := uintptr(_CTL_MAXNAME) if sysctl(&oid[0], 2, (*byte)(unsafe.Pointer(mib)), &miblen, (*byte)(unsafe.Pointer(&name[0])), (uintptr)(len(name))) < 0 { return 0 } miblen /= unsafe.Sizeof(uint32(0)) if miblen <= 0 { return 0 } return uint32(miblen) } const ( _CPU_CURRENT_PID = -1 // Current process ID. ) //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0) -
src/cmd/internal/objfile/disasm.go
} // FileCache is a simple LRU cache of file contents. type FileCache struct { files *list.List maxLen int } // NewFileCache returns a FileCache which can contain up to maxLen cached file contents. func NewFileCache(maxLen int) *FileCache { return &FileCache{ files: list.New(), maxLen: maxLen, } } // Line returns the source code line for the given file and line number.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 10.5K bytes - Viewed (0) -
src/runtime/tracestack.go
var frame traceFrame frame.PC = f.PC fn := f.Function const maxLen = 1 << 10 if len(fn) > maxLen { fn = fn[len(fn)-maxLen:] } frame.funcID = trace.stringTab[gen%2].put(gen, fn) frame.line = uint64(f.Line) file := f.File if len(file) > maxLen { file = file[len(file)-maxLen:] } frame.fileID = trace.stringTab[gen%2].put(gen, file) return frame }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:56 UTC 2024 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/yaml/decoder_test.go
d := ` stuff: 1 ` maxLen := 5 * 1024 * 1024 bufferLen := 4 * 1024 // maxLen 5 M dd := strings.Repeat(d, 512*1024) r := NewDocumentDecoder(io.NopCloser(bytes.NewReader([]byte(dd[:maxLen-1])))) b := make([]byte, bufferLen) n, err := r.Read(b) if err != io.ErrShortBuffer { t.Fatalf("expected ErrShortBuffer: %d / %v", n, err) } b = make([]byte, maxLen) n, err = r.Read(b) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 12.4K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
t.Skipf("skipping test: GOARCH=%s", runtime.GOARCH) } for arglen := 0; arglen <= runtime.MaxArgs; arglen++ { arglen := arglen t.Run(fmt.Sprintf("arg-%d", arglen), func(t *testing.T) { t.Parallel() args := make([]string, arglen) rets := make([]string, arglen+1) params := make([]uintptr, arglen) for i := range args { args[i] = fmt.Sprintf("int a%d", i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
pilot/pkg/networking/core/tracing_test.go
}, } return t } func fakeTracingConfigNoProvider(randomSampling float64, maxLen uint32, tags []*tracing.CustomTag) *hcm.HttpConnectionManager_Tracing { return fakeTracingConfig(nil, randomSampling, maxLen, tags) } func fakeTracingConfig(provider *tracingcfg.Tracing_Http, randomSampling float64, maxLen uint32, tags []*tracing.CustomTag) *hcm.HttpConnectionManager_Tracing { t := &hcm.HttpConnectionManager_Tracing{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 20:47:52 UTC 2024 - 38.6K bytes - Viewed (0)