Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ref (0.53 sec)

  1. misc/linkcheck/linkcheck.go

    )
    
    func localLinks(body string) (links []string) {
    	seen := map[string]bool{}
    	mv := aRx.FindAllStringSubmatch(body, -1)
    	for _, m := range mv {
    		ref := m[1]
    		if strings.HasPrefix(ref, "/src/") {
    			continue
    		}
    		if !seen[ref] {
    			seen[ref] = true
    			links = append(links, m[1])
    		}
    	}
    	return
    }
    
    var idRx = regexp.MustCompile(`\bid=['"]?([^\s'">]+)`)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    					},
    
    					// func valueIndex(v ref, i int) ref
    					"syscall/js.valueIndex": (sp) => {
    						sp >>>= 0;
    						storeValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));
    					},
    
    					// valueSetIndex(v ref, i int, x ref)
    					"syscall/js.valueSetIndex": (sp) => {
    						sp >>>= 0;
    						Reflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));
    					},
    
    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)
  3. src/cmd/cgo/godefs.go

    	}
    
    	// Otherwise, if the source file says type T C.whatever,
    	// use "T" as the mangling of C.whatever,
    	// except in the definition (handled at end of function).
    	refName := make(map[*ast.Expr]*Name)
    	for _, r := range f.Ref {
    		refName[r.Expr] = r.Name
    	}
    	for _, d := range f.AST.Decls {
    		d, ok := d.(*ast.GenDecl)
    		if !ok || d.Tok != token.TYPE {
    			continue
    		}
    		for _, s := range d.Specs {
    			s := s.(*ast.TypeSpec)
    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)
  4. src/cmd/cgo/ast.go

    					f.Edit.Replace(f.offset(s.Path.Pos()), f.offset(s.Path.End()), `_ "unsafe"`)
    				}
    			}
    		}
    	}
    
    	// Accumulate pointers to uses of C.x.
    	if f.Ref == nil {
    		f.Ref = make([]*Ref, 0, 8)
    	}
    	f.walk(ast2, ctxProg, (*File).validateIdents)
    	f.walk(ast2, ctxProg, (*File).saveExprs)
    
    	// Accumulate exported functions.
    	// The comments are only on ast1 but we need to
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. doc/godebug.md

    This behavior can be controlled by the
    [`httpmuxgo121` setting](/pkg/net/http/#ServeMux).
    
    Go 1.22 added the [Alias type](/pkg/go/types#Alias) to [go/types](/pkg/go/types)
    for the explicit representation of [type aliases](/ref/spec#Type_declarations).
    Whether the type checker produces `Alias` types or not is controlled by the
    [`gotypesalias` setting](/pkg/go/types#Alias).
    For Go 1.22 it defaults to `gotypesalias=0`.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    	}
    
    	needsUnsafe := false
    	result := false
    	twoResults := false
    	if !call.Deferred {
    		// Check whether this call expects two results.
    		for _, ref := range f.Ref {
    			if ref.Expr != &call.Call.Fun {
    				continue
    			}
    			if ref.Context == ctxCall2 {
    				sb.WriteString("(")
    				result = true
    				twoResults = true
    			}
    			break
    		}
    
    		// Add the result type, if any.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/cmd/cgo/doc.go

    to Go.
    
    # Special cases
    
    A few special C types which would normally be represented by a pointer
    type in Go are instead represented by a uintptr. Those include:
    
    1. The *Ref types on Darwin, rooted at CoreFoundation's CFTypeRef type.
    
    2. The object types from Java's JNI interface:
    
    	jobject
    	jclass
    	jthrowable
    	jstring
    	jarray
    	jbooleanArray
    	jbyteArray
    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)
  8. doc/go1.17_spec.html

    <!--{
    	"Title": "The Go Programming Language Specification",
    	"Subtitle": "Version of Oct 15, 2021",
    	"Path": "/ref/spec"
    }-->
    
    <h2 id="Introduction">Introduction</h2>
    
    <p>
    This is the reference manual for the Go programming language as it was for
    language version 1.17, in October 2021, before the introduction of generics.
    It is provided for historical interest.
    The current reference manual can be found <a href="/doc/go_spec.html">here</a>.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. doc/go_mem.html

    That execution must be consistent with the <i>sequenced before</i> relation,
    defined as the partial order requirements set out by the <a href="/ref/spec">Go language specification</a>
    for Go's control flow constructs as well as the <a href="/ref/spec#Order_of_evaluation">order of evaluation for expressions</a>.
    </p>
    
    <p>
    A Go <i>program execution</i> is modeled as a set of goroutine executions,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    			return
    		}
    		operands = operands[1:]
    	}
    	// Search for symbol references.
    	for _, op := range operands {
    		p.start(op)
    		if name, abi, ok := p.funcAddress(); ok {
    			fmt.Fprintf(w, "ref %s %s\n", name, abi)
    		}
    	}
    }
    
    func (p *Parser) start(operand []lex.Token) {
    	p.input = operand
    	p.inputPos = 0
    }
    
    // address parses the operand into a link address structure.
    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)
Back to top