- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for sonst (0.18 sec)
-
src/bytes/buffer_test.go
} } func BenchmarkWriteByte(b *testing.B) { const n = 4 << 10 b.SetBytes(n) buf := NewBuffer(make([]byte, n)) for i := 0; i < b.N; i++ { buf.Reset() for i := 0; i < n; i++ { buf.WriteByte('x') } } } func BenchmarkWriteRune(b *testing.B) { const n = 4 << 10 const r = '☺' b.SetBytes(int64(n * utf8.RuneLen(r)))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
#line 1 "not-type" void __cgo_f_1_2(void) { foo *__cgo_undefined__2; } #line 1 "not-int-const" void __cgo_f_1_3(void) { enum { __cgo_undefined__3 = (foo)*1 }; } #line 1 "not-num-const" void __cgo_f_1_4(void) { static const double __cgo_undefined__4 = (foo); } #line 1 "not-str-lit" void __cgo_f_1_5(void) { static const char __cgo_undefined__5[] = (foo); } This program will not compile, but cgo can use the presence or absence
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
doc/go1.17_spec.html
constant, even if the literal's fractional part is zero. </p> <pre> const Pi float64 = 3.14159265358979323846 const zero = 0.0 // untyped floating-point constant const ( size int64 = 1024 eof = -1 // untyped integer constant ) const a, b, c = 3, 4, "foo" // a = 3, b = 4, c = "foo", untyped integer and string constants const u, v float32 = 0, 3 // u = 0.0, v = 3.0 </pre> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/archive/zip/reader_test.go
if want == 0 { t.Errorf("%s mode: got %v, want none", f.Name, mode) } else if mode != want { t.Errorf("%s mode: want %v, got %v", f.Name, want, mode) } } func TestInvalidFiles(t *testing.T) { const size = 1024 * 70 // 70kb b := make([]byte, size) // zeroes _, err := NewReader(bytes.NewReader(b), size) if err != ErrFormat { t.Errorf("zeroes: error=%v, want %v", err, ErrFormat) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/archive/tar/common.go
type headerError []string func (he headerError) Error() string { const prefix = "archive/tar: cannot encode header" var ss []string for _, s := range he { if s != "" { ss = append(ss, s) } } if len(ss) == 0 { return prefix } return fmt.Sprintf("%s: %v", prefix, strings.Join(ss, "; and ")) } // Type flags for Header.Typeflag. const ( // Type '0' indicates a regular file. TypeReg = '0'
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
api/next/62254.txt
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Feb 20 06:04:31 GMT 2024 - 758 bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm.s
// // g = nullgen; // g.Type = obj.TYPE_CONST; // g.Offset = int64($6); // outcode($1, $2, &$3, 0, &g); // } MOVM 0(R1), [R2,R5,R8,g] // MOVM (R1), [R2,R5,R8,g] MOVM (R1), [R2-R5] // MOVM (R1), [R2,R3,R4,R5] MOVM (R1), [R2] // LTYPE8 cond '[' reglist ']' ',' ioreg // { // var g obj.Addr // // g = nullgen; // g.Type = obj.TYPE_CONST; // g.Offset = int64($4);
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 15 20:51:01 GMT 2023 - 69K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
// Reattach drive letter. f = []string{f[0] + ":" + f[1], f[2]} } if len(f) != 2 { t.Fatalf("no line number found in %q", pathAndLineNo) } return funcname, f[0], f[1] } const symName = "cmd/addr2line.TestAddr2Line" func testAddr2Line(t *testing.T, dbgExePath, addr string) { funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr) if symName != funcName {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/ppc64.s
// For backwards compatibility, MOVW $const,Rx and MOVWZ $const,Rx assemble identically // and accept the same constants. MOVW $2147483648, R5 // 64058000 MOVWZ $-2147483648, R5 // 3ca08000 // TODO: These are preprocessed by the assembler into MOVD $const>>shift, R5; SLD $shift, R5.
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 24 15:53:25 GMT 2024 - 49K bytes - Viewed (0) -
src/bytes/bytes_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0)