Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for interfaces (0.16 sec)

  1. src/cmd/asm/internal/asm/parse.go

    func (p *Parser) errorf(format string, args ...interface{}) {
    	if panicOnError {
    		panic(fmt.Errorf(format, args...))
    	}
    	if p.lineNum == p.errorLine {
    		// Only one error per line.
    		return
    	}
    	p.errorLine = p.lineNum
    	if p.lex != nil {
    		// Put file and line information on head of message.
    		format = "%s:%d: " + format + "\n"
    		args = append([]interface{}{p.lex.File(), p.lineNum}, 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)
  2. src/archive/zip/zip_test.go

    func generatesZip64(t *testing.T, f func(w *Writer)) bool {
    	ss := &suffixSaver{keep: 10 << 20}
    	w := NewWriter(ss)
    	f(w)
    	return suffixIsZip64(t, ss)
    }
    
    type sizedReaderAt interface {
    	io.ReaderAt
    	Size() int64
    }
    
    func suffixIsZip64(t *testing.T, zip sizedReaderAt) bool {
    	d := make([]byte, 1024)
    	if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
    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)
  3. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) Second() $1
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 26 19:39:32 GMT 2024
    - 329 bytes
    - Viewed (0)
  4. api/go1.22.txt

    pkg crypto/x509, type OID struct #60665
    pkg database/sql, method (*Null[$0]) Scan(interface{}) error #60370
    pkg database/sql, method (Null[$0]) Value() (driver.Value, error) #60370
    pkg database/sql, type Null[$0 interface{}] struct #60370
    pkg database/sql, type Null[$0 interface{}] struct, V $0 #60370
    pkg database/sql, type Null[$0 interface{}] struct, Valid bool #60370
    pkg debug/elf, const R_LARCH_64_PCREL = 109 #63725
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	}
    }
    
    func sortedMethodNames(typ *types.Interface) []string {
    	n := typ.NumMethods()
    	list := make([]string, n)
    	for i := range list {
    		list[i] = typ.Method(i).Name()
    	}
    	sort.Strings(list)
    	return list
    }
    
    // sortedEmbeddeds returns constraint types embedded in an
    // interface. It does not include embedded interface types or methods.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    	// err is a persistent error.
    	// It is only the responsibility of every exported method of Reader to
    	// ensure that this error is sticky.
    	err error
    }
    
    type fileReader interface {
    	io.Reader
    	fileState
    
    	WriteTo(io.Writer) (int64, error)
    }
    
    // NewReader creates a new [Reader] reading from r.
    func NewReader(r io.Reader) *Reader {
    	return &Reader{r: r, curr: &regFileReader{r, 0}}
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. doc/go_mem.html

    can lead to inconsistent values not corresponding to a single write.
    When the values depend on the consistency
    of internal (pointer, length) or (pointer, type) pairs,
    as can be the case for interface values, maps,
    slices, and strings in most Go implementations,
    such races can in turn lead to arbitrary memory corruption.
    </p>
    
    <p>
    Examples of incorrect synchronization are given in the
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  8. api/next/60427.txt

    pkg reflect, type Type interface, OverflowComplex(complex128) bool #60427
    pkg reflect, type Type interface, OverflowFloat(float64) bool #60427
    pkg reflect, type Type interface, OverflowInt(int64) bool #60427
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 28 14:08:38 GMT 2024
    - 275 bytes
    - Viewed (0)
  9. api/next/65238.txt

    pkg slices, func Repeat[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) $0 #65238...
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Mar 19 21:38:37 GMT 2024
    - 82 bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/endtoend_test.go

    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	ctxt.IsAsm = true
    	defer ctxt.Bso.Flush()
    	failed := false
    	ctxt.DiagFunc = func(format string, args ...interface{}) {
    		failed = true
    		t.Errorf(format, args...)
    	}
    	pList.Firstpc, ok = parser.Parse()
    	if !ok || failed {
    		t.Errorf("asm: %s assembly failed", goarch)
    		return
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top