Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for helper (0.17 sec)

  1. src/cmd/cgo/doc.go

    	func C.GoBytes(unsafe.Pointer, C.int) []byte
    
    As a special case, C.malloc does not call the C library malloc directly
    but instead calls a Go helper function that wraps the C library malloc
    but guarantees never to return nil. If C's malloc indicates out of memory,
    the helper function crashes the program, like when Go itself runs out
    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    }
    
    func (w *teststringwriter) WriteString(s string) (int, error) {
    	w.writeString += s
    	return len(s), nil
    }
    
    func (w *teststringwriter) check(t *testing.T, write, writeString string) {
    	t.Helper()
    	if w.write != write {
    		t.Errorf("write: expected %q, got %q", write, w.write)
    	}
    	if w.writeString != writeString {
    		t.Errorf("writeString: expected %q, got %q", writeString, w.writeString)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. api/go1.18.txt

    pkg testing, method (*F) Failed() bool
    pkg testing, method (*F) Fatal(...interface{})
    pkg testing, method (*F) Fatalf(string, ...interface{})
    pkg testing, method (*F) Fuzz(interface{})
    pkg testing, method (*F) Helper()
    pkg testing, method (*F) Log(...interface{})
    pkg testing, method (*F) Logf(string, ...interface{})
    pkg testing, method (*F) Name() string
    pkg testing, method (*F) Setenv(string, string)
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  4. src/archive/zip/fuzz_test.go

    		if err != nil {
    			return
    		}
    
    		type file struct {
    			header  *FileHeader
    			content []byte
    		}
    		files := []file{}
    
    		for _, f := range r.File {
    			fr, err := f.Open()
    			if err != nil {
    				continue
    			}
    			content, err := io.ReadAll(fr)
    			if err != nil {
    				continue
    			}
    			files = append(files, file{header: &f.FileHeader, content: content})
    			if _, err := r.Open(f.Name); err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jan 13 18:06:33 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  5. src/arena/arena.go

    //go:linkname runtime_arena_newArena
    func runtime_arena_newArena() unsafe.Pointer
    
    //go:linkname runtime_arena_arena_New
    func runtime_arena_arena_New(arena unsafe.Pointer, typ any) any
    
    // Mark as noescape to avoid escaping the slice header.
    //
    //go:noescape
    //go:linkname runtime_arena_arena_Slice
    func runtime_arena_arena_Slice(arena unsafe.Pointer, slice any, cap int)
    
    //go:linkname runtime_arena_arena_Free
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    	File       string
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64), type InterfaceAnnounceMessage struct
    pkg syscall (netbsd-arm64), type InterfaceAnnounceMessage struct, Header IfAnnounceMsghdr
    pkg syscall (netbsd-arm64), type InterfaceMessage struct
    pkg syscall (netbsd-arm64), type InterfaceMessage struct, Data []uint8
    pkg syscall (netbsd-arm64), type InterfaceMessage struct, Header IfMsghdr
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. api/go1.3.txt

    pkg archive/tar, const TypeGNUSparse = 83
    pkg archive/tar, const TypeGNUSparse ideal-char
    pkg archive/tar, type Header struct, Xattrs map[string]string
    pkg compress/gzip, method (*Reader) Reset(io.Reader) error
    pkg crypto/tls, const CurveP256 = 23
    pkg crypto/tls, const CurveP256 CurveID
    pkg crypto/tls, const CurveP384 = 24
    pkg crypto/tls, const CurveP384 CurveID
    pkg crypto/tls, const CurveP521 = 25
    pkg crypto/tls, const CurveP521 CurveID
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  9. api/go1.9.txt

    pkg syscall, type RawConn interface, Read(func(uintptr) bool) error
    pkg syscall, type RawConn interface, Write(func(uintptr) bool) error
    pkg testing, method (*B) Helper()
    pkg testing, method (*T) Helper()
    pkg testing, type TB interface, Helper()
    pkg time, method (Duration) Round(Duration) Duration
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    // For forward compatibility, users that retrieve a Header from Reader.Next,
    // mutate it in some ways, and then pass it back to Writer.WriteHeader
    // should do so by creating a new Header and copying the fields
    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    	// depending on the presence of a trailing slash in Name.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top