- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 76 for testInt (0.23 sec)
-
src/cmd/cgo/internal/test/callback_windows.go
} return i; #else return 0; #endif } */ import "C" import ( "internal/testenv" "reflect" "runtime" "strings" "testing" "unsafe" ) // Test that the stack can be unwound through a call out and call back // into Go. func testCallbackCallersSEH(t *testing.T) { testenv.SkipIfOptimizationOff(t) // This test requires inlining. if runtime.Compiler != "gc" {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Nov 29 16:01:37 GMT 2023 - 2.6K bytes - Viewed (0) -
src/archive/zip/zip_test.go
// Tests that involve both reading and writing. package zip import ( "bytes" "errors" "fmt" "hash" "internal/testenv" "io" "runtime" "sort" "strings" "testing" "time" ) func TestOver65kFiles(t *testing.T) { if testing.Short() && testenv.Builder() == "" { t.Skip("skipping in short mode") } buf := new(strings.Builder) w := NewWriter(buf) const nFiles = (1 << 16) + 42
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/bytes/reader_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytes_test import ( . "bytes" "fmt" "io" "sync" "testing" ) func TestReader(t *testing.T) { r := NewReader([]byte("0123456789")) tests := []struct { off int64 seek int n int want string wantpos int64 readerr error seekerr string }{
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/line_test.go
// license that can be found in the LICENSE file. package asm import ( "cmd/asm/internal/lex" "strings" "testing" ) type badInstTest struct { input, error string } func TestAMD64BadInstParser(t *testing.T) { testBadInstParser(t, "amd64", []badInstTest{ // Test AVX512 suffixes. {"VADDPD.A X0, X1, X2", `unknown suffix "A"`},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 1.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e1/main.go
#endif */ import "C" import ( "fmt" "testing" ) func f1() { C.SecKeyCreateSignature(0, C.kSecKeyAlgorithmECDSASignatureDigestX962SHA1, 0, nil) } func f2(e C.CFErrorRef) { if desc := C.CFErrorCopyDescription(e); desc != 0 { fmt.Println(desc) } }
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1K bytes - Viewed (0) -
src/bytes/export_test.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytes // Export func for testing
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 24 00:56:36 GMT 2019 - 244 bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 12.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
dataAddr: make(map[string]int64), errorWriter: os.Stderr, allowABI: ctxt != nil && objabi.LookupPkgSpecial(ctxt.Pkgpath).AllowAsmABI, pkgPrefix: pkgPrefix, } } // panicOnError is enabled when testing to abort execution on the first error // and turn it into a recoverable panic. var panicOnError bool func (p *Parser) errorf(format string, args ...interface{}) { if panicOnError { panic(fmt.Errorf(format, args...))
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall, type RawSockaddrInet6 struct, Scope_id uint32 pkg testing, func AllocsPerRun(int, func()) float64 pkg testing, func Verbose() bool pkg testing, method (*B) ReportAllocs() pkg testing, method (*B) Skip(...interface{}) pkg testing, method (*B) SkipNow() pkg testing, method (*B) Skipf(string, ...interface{}) pkg testing, method (*B) Skipped() bool pkg testing, method (*T) Skip(...interface{})
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (1) -
src/archive/tar/writer_test.go
// license that can be found in the LICENSE file. package tar import ( "bytes" "encoding/hex" "errors" "io" "io/fs" "os" "path" "reflect" "sort" "strings" "testing" "testing/fstest" "testing/iotest" "time" ) func bytediff(a, b []byte) string { const ( uniqueA = "- " uniqueB = "+ " identity = " " ) var ss []string
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0)