- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 76 for testInt (0.3 sec)
-
src/archive/zip/writer_test.go
// license that can be found in the LICENSE file. package zip import ( "bytes" "compress/flate" "encoding/binary" "fmt" "hash/crc32" "io" "io/fs" "math/rand" "os" "strings" "testing" "testing/fstest" "time" ) // TODO(adg): a more sophisticated test suite type WriteTest struct { Name string Data []byte Method uint16 Mode fs.FileMode }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Sep 15 19:04:06 GMT 2023 - 14.1K bytes - Viewed (0) -
src/bytes/boundary_test.go
} return b[pagesize : 2*pagesize] } func TestEqualNearPageBoundary(t *testing.T) { t.Parallel() b := dangerousSlice(t) for i := range b { b[i] = 'A' } for i := 0; i <= len(b); i++ { Equal(b[:i], b[len(b)-i:]) Equal(b[len(b)-i:], b[:i]) } } func TestIndexByteNearPageBoundary(t *testing.T) { t.Parallel() b := dangerousSlice(t) for i := range b { idx := IndexByte(b[i:], 1)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
// Copyright 2021 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 tar import ( "bytes" "io" "testing" ) func FuzzReader(f *testing.F) { b := bytes.NewBuffer(nil) w := NewWriter(b)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 2.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue24161e0/main.go
#define kSecKeyAlgorithmECDSASignatureDigestX962SHA1 foo() static SecKeyAlgorithm foo(void){return NULL;} #endif */ import "C" import "testing" func f1() { C.SecKeyCreateSignature(0, C.kSecKeyAlgorithmECDSASignatureDigestX962SHA1, 0, nil) }
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 919 bytes - Viewed (0) -
src/cmd/cgo/internal/test/buildid_linux.go
// to generate a separate build ID for each package using cgo, and the // linker concatenated them all. We don't want that--we only want // one. import ( "bytes" "debug/elf" "os" "testing" ) func testBuildID(t *testing.T) { f, err := elf.Open("/proc/self/exe") if err != nil { if os.IsNotExist(err) { t.Skip("no /proc/self/exe") } t.Fatal("opening /proc/self/exe: ", err) } defer f.Close()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1.7K bytes - Viewed (0) -
src/bytes/bytes_test.go
var isRaceBuilder = strings.HasSuffix(testenv.Builder(), "-race") func BenchmarkIndexByte(b *testing.B) { benchBytes(b, indexSizes, bmIndexByte(IndexByte)) } func BenchmarkIndexBytePortable(b *testing.B) { benchBytes(b, indexSizes, bmIndexByte(IndexBytePortable)) } func bmIndexByte(index func([]byte, byte) int) func(b *testing.B, n int) { return func(b *testing.B, n int) { buf := bmbuf[0:n]
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) -
api/go1.txt
pkg testing, func Short() bool pkg testing, method (*B) Error(...interface{}) pkg testing, method (*B) Errorf(string, ...interface{}) pkg testing, method (*B) Fail() pkg testing, method (*B) FailNow() pkg testing, method (*B) Failed() bool pkg testing, method (*B) Fatal(...interface{}) pkg testing, method (*B) Fatalf(string, ...interface{}) pkg testing, method (*B) Log(...interface{})
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (2) -
api/go1.16.txt
pkg testing/fstest, type MapFS map[string]*MapFile pkg testing/fstest, type MapFile struct pkg testing/fstest, type MapFile struct, Data []uint8 pkg testing/fstest, type MapFile struct, ModTime time.Time pkg testing/fstest, type MapFile struct, Mode fs.FileMode pkg testing/fstest, type MapFile struct, Sys interface{} pkg testing/iotest, func ErrReader(error) io.Reader
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (windows-amd64), const CTRL_SHUTDOWN_EVENT = 6 pkg syscall (windows-amd64), const CTRL_SHUTDOWN_EVENT ideal-int pkg testing, method (*B) Cleanup(func()) pkg testing, method (*T) Cleanup(func()) pkg testing, type TB interface, Cleanup(func()) pkg unicode, const Version = "12.0.0" pkg unicode, var Elymaic *RangeTable pkg unicode, var Nandinagari *RangeTable
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_linux_test.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 1K bytes - Viewed (0)