Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 139 for errorea (0.38 sec)

  1. src/archive/tar/strconv_test.go

    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    			}
    		}
    		if ok && got != v.want {
    			t.Errorf("parseNumeric(%q): got %d, want %d", v.in, got, v.want)
    		}
    	}
    }
    
    func TestFormatNumeric(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    This program will not compile, but cgo can use the presence or absence
    of an error message on a given line to deduce the information it
    needs. The program is syntactically valid regardless of whether each
    name is a type or an ordinary identifier, so there will be no syntax
    errors that might stop parsing early.
    
    An error on not-declared:1 indicates that foo is undeclared.
    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)
  3. api/go1.13.txt

    pkg debug/elf, type Symbol struct, Version string
    pkg encoding/csv, method (*ParseError) Unwrap() error
    pkg encoding/json, method (*MarshalerError) Unwrap() error
    pkg errors, func As(error, interface{}) bool
    pkg errors, func Is(error, error) bool
    pkg errors, func Unwrap(error) error
    pkg go/constant, func Make(interface{}) Value
    pkg go/constant, func Val(Value) interface{}
    pkg go/token, func IsExported(string) bool
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  4. src/cmd/api/testdata/src/pkg/p1/p1.go

    	GetNamed(string) (balance int64)
    	private()
    }
    
    type Public interface {
    	X()
    	Y()
    }
    
    // Deprecated: Use Unexported.
    type Private interface {
    	X()
    	y()
    }
    
    type Error interface {
    	error
    	Temporary() bool
    }
    
    func (myInt) privateTypeMethod()           {}
    func (myInt) CapitalMethodUnexportedType() {}
    
    // Deprecated: use TMethod.
    func (s *S2) SMethod(x int8, y int16, z int64) {}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/types, type Config struct, Error func(error)
    pkg go/types, type Config struct, FakeImportC bool
    pkg go/types, type Config struct, IgnoreFuncBodies bool
    pkg go/types, type Config struct, Importer Importer
    pkg go/types, type Config struct, Sizes Sizes
    pkg go/types, type Const struct
    pkg go/types, type Error struct
    pkg go/types, type Error struct, Fset *token.FileSet
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. api/go1.3.txt

    pkg debug/macho, func NewFatFile(io.ReaderAt) (*FatFile, error)
    pkg debug/macho, func OpenFat(string) (*FatFile, error)
    pkg debug/macho, method (*FatFile) Close() error
    pkg debug/macho, method (FatArch) Close() error
    pkg debug/macho, method (FatArch) DWARF() (*dwarf.Data, error)
    pkg debug/macho, method (FatArch) ImportedLibraries() ([]string, error)
    pkg debug/macho, method (FatArch) ImportedSymbols() ([]string, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  7. misc/wasm/wasm_exec.js

    		}
    	}
    
    	if (!globalThis.crypto) {
    		throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");
    	}
    
    	if (!globalThis.performance) {
    		throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");
    	}
    
    	if (!globalThis.TextEncoder) {
    		throw new Error("globalThis.TextEncoder is not available, polyfill required");
    	}
    
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  8. src/cmd/api/testdata/src/pkg/p3/golden.txt

    pkg p3, func BadHop(int, int, int) (bool, bool, *ThirdBase, *ThirdBase, error)
    pkg p3, method (*ThirdBase) GoodPlayer() (int, int, int)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Jan 29 00:45:45 GMT 2013
    - 166 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue26743.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    // Issue 26743: typedef of uint leads to inconsistent typedefs error.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 356 bytes
    - Viewed (0)
  10. src/cmd/cgo/ast_go118.go

    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    		panic("unexpected type")
    
    	case *ast.IndexListExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(n.Indices, ctxExpr, visit)
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 30 21:45:10 GMT 2022
    - 730 bytes
    - Viewed (0)
Back to top