Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Assert (0.23 sec)

  1. src/cmd/cgo/internal/test/issue20910.c

    // license that can be found in the LICENSE file.
    
    #include <assert.h>
    #include <stdlib.h>
    #include <string.h>
    #include "_cgo_export.h"
    
    /* Test calling a Go function with multiple return values.  */
    
    void
    callMulti(void)
    {
    	struct multi_return result = multi();
    	assert(strcmp(result.r0, "multi") == 0);
    	assert(result.r1 == 0);
    	free(result.r0);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 459 bytes
    - Viewed (0)
  2. api/go1.5.txt

    pkg go/types, method (*Scope) Contains(token.Pos) bool
    pkg go/types, method (*Scope) End() token.Pos
    pkg go/types, method (*Scope) Innermost(token.Pos) *Scope
    pkg go/types, method (*Scope) Insert(Object) Object
    pkg go/types, method (*Scope) Len() int
    pkg go/types, method (*Scope) Lookup(string) Object
    pkg go/types, method (*Scope) LookupParent(string, token.Pos) (*Scope, Object)
    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)
  3. doc/go1.17_spec.html

    </p>
    
    <pre>
    x.(T)
    </pre>
    
    <p>
    asserts that <code>x</code> is not <code>nil</code>
    and that the value stored in <code>x</code> is of type <code>T</code>.
    The notation <code>x.(T)</code> is called a <i>type assertion</i>.
    </p>
    <p>
    More precisely, if <code>T</code> is not an interface type, <code>x.(T)</code> asserts
    that the dynamic type of <code>x</code> is <a href="#Type_identity">identical</a>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. api/go1.6.txt

    pkg debug/elf, const R_MIPS_HIGHER R_MIPS
    pkg debug/elf, const R_MIPS_HIGHEST = 29
    pkg debug/elf, const R_MIPS_HIGHEST R_MIPS
    pkg debug/elf, const R_MIPS_INSERT_A = 25
    pkg debug/elf, const R_MIPS_INSERT_A R_MIPS
    pkg debug/elf, const R_MIPS_INSERT_B = 26
    pkg debug/elf, const R_MIPS_INSERT_B R_MIPS
    pkg debug/elf, const R_MIPS_JALR = 37
    pkg debug/elf, const R_MIPS_JALR R_MIPS
    pkg debug/elf, const R_MIPS_LITERAL = 8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		// don't want to resolve them to their base types.
    		if *godefs {
    			break
    		}
    	}
    	p.prepareNames(f)
    	if p.rewriteCalls(f) {
    		// Add `import _cgo_unsafe "unsafe"` after the package statement.
    		f.Edit.Insert(f.offset(f.AST.Name.End()), "; import _cgo_unsafe \"unsafe\"")
    	}
    	p.rewriteRef(f)
    }
    
    // loadDefines coerces gcc into spitting out the #defines in use
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg go/ast, method (*RangeStmt) End() token.Pos
    pkg go/ast, method (*RangeStmt) Pos() token.Pos
    pkg go/ast, method (*ReturnStmt) End() token.Pos
    pkg go/ast, method (*ReturnStmt) Pos() token.Pos
    pkg go/ast, method (*Scope) Insert(*Object) *Object
    pkg go/ast, method (*Scope) Lookup(string) *Object
    pkg go/ast, method (*Scope) String() string
    pkg go/ast, method (*SelectStmt) End() token.Pos
    pkg go/ast, method (*SelectStmt) Pos() token.Pos
    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)
  7. src/cmd/cgo/godefs.go

    // AST expression onto a single line. The lexer normally inserts a
    // semicolon at each newline, so we can replace newline with semicolon.
    // However, we can't do that in cases where the lexer would not insert
    // a semicolon. We only have to worry about cases that can occur in an
    // expression passed through gofmt, which means composite literals and
    // (due to the printer possibly inserting newlines because of position
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  8. doc/asm.html

    <br>
    It is legal to have multiple instances of this symbol in a single binary.
    The linker will choose one of the duplicates to use.
    </li>
    <li>
    <code>NOSPLIT</code> = 4
    <br>
    (For <code>TEXT</code> items.)
    Don't insert the preamble to check if the stack must be split.
    The frame for the routine, plus anything it calls, must fit in the
    spare space remaining in the current stack segment.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. lib/time/README

    The zoneinfo.zip archive contains time zone files compiled using
    the code and data maintained as part of the IANA Time Zone Database.
    The IANA asserts that the database is in the public domain.
    
    For more information, see
    https://www.iana.org/time-zones
    ftp://ftp.iana.org/tz/code/tz-link.html
    https://datatracker.ietf.org/doc/html/rfc6557
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Aug 15 02:18:46 GMT 2021
    - 390 bytes
    - Viewed (0)
  10. api/go1.19.txt

    pkg debug/elf, const R_LARCH_SOP_ADD R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_AND = 36 #46229
    pkg debug/elf, const R_LARCH_SOP_AND R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_ASSERT = 30 #46229
    pkg debug/elf, const R_LARCH_SOP_ASSERT R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_IF_ELSE = 37 #46229
    pkg debug/elf, const R_LARCH_SOP_IF_ELSE R_LARCH #46229
    pkg debug/elf, const R_LARCH_SOP_NOT = 31 #46229
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
Back to top