Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ifdef (0.18 sec)

  1. src/cmd/asm/internal/lex/input.go

    		switch in.Stack.Text() {
    		case "else", "endif", "ifdef", "ifndef", "line":
    			// Press on.
    		default:
    			return false
    		}
    	}
    	switch in.Stack.Text() {
    	case "define":
    		in.define()
    	case "else":
    		in.else_()
    	case "endif":
    		in.endif()
    	case "ifdef":
    		in.ifdef(true)
    	case "ifndef":
    		in.ifdef(false)
    	case "include":
    		in.include()
    	case "line":
    		in.line()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex_test.go

    var badLexTests = []badLexTest{
    	{
    		"3 #define foo bar\n",
    		"'#' must be first item on line",
    	},
    	{
    		"#ifdef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#define A() A()\nA()",
    		"recursive macro invocation",
    	},
    	{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/callback_windows.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    /*
    #include <windows.h>
    USHORT backtrace(ULONG FramesToCapture, PVOID *BackTrace) {
    #ifdef _AMD64_
    	CONTEXT context;
    	RtlCaptureContext(&context);
    	ULONG64 ControlPc;
    	ControlPc = context.Rip;
    	int i;
    	for (i = 0; i < FramesToCapture; i++) {
    		PRUNTIME_FUNCTION FunctionEntry;
    		ULONG64 ImageBase;
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/asm/doc.go

    Input language:
    
    The assembler uses mostly the same syntax for all architectures,
    the main variation having to do with addressing modes. Input is
    run through a simplified C preprocessor that implements #include,
    #define, #ifdef/endif, but not #if or ##.
    
    For more information, see https://golang.org/doc/asm.
    */
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. api/go1.1.txt

    pkg syscall (darwin-386), const RTF_DONE = 64
    pkg syscall (darwin-386), const RTF_DYNAMIC = 16
    pkg syscall (darwin-386), const RTF_GATEWAY = 2
    pkg syscall (darwin-386), const RTF_HOST = 4
    pkg syscall (darwin-386), const RTF_IFREF = 67108864
    pkg syscall (darwin-386), const RTF_IFSCOPE = 16777216
    pkg syscall (darwin-386), const RTF_LLINFO = 1024
    pkg syscall (darwin-386), const RTF_LOCAL = 2097152
    pkg syscall (darwin-386), const RTF_MODIFIED = 32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  6. api/go1.16.txt

    pkg syscall (darwin-arm64), const RTF_GATEWAY ideal-int
    pkg syscall (darwin-arm64), const RTF_HOST = 4
    pkg syscall (darwin-arm64), const RTF_HOST ideal-int
    pkg syscall (darwin-arm64), const RTF_IFREF = 67108864
    pkg syscall (darwin-arm64), const RTF_IFREF ideal-int
    pkg syscall (darwin-arm64), const RTF_IFSCOPE = 16777216
    pkg syscall (darwin-arm64), const RTF_IFSCOPE ideal-int
    pkg syscall (darwin-arm64), const RTF_LLINFO = 1024
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg syscall (darwin-386), const RTF_DYNAMIC ideal-int
    pkg syscall (darwin-386), const RTF_GATEWAY ideal-int
    pkg syscall (darwin-386), const RTF_HOST ideal-int
    pkg syscall (darwin-386), const RTF_IFREF ideal-int
    pkg syscall (darwin-386), const RTF_IFSCOPE ideal-int
    pkg syscall (darwin-386), const RTF_LLINFO ideal-int
    pkg syscall (darwin-386), const RTF_LOCAL ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  8. src/cmd/cgo/internal/test/issue20266/issue20266.h

    // Copyright 2017 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.
    
    #define issue20266 20266
    
    #ifndef def20266
    #error "expected def20266 to be defined"
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 251 bytes
    - Viewed (0)
Back to top