Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for mappings (0.21 sec)

  1. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "// %s %s\n", filepath.Base(args[0]), strings.Join(args[1:], " "))
    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    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)
  2. misc/chrome/gophertool/gopher.js

            if (t < 150000) {
                // We could use the golang.org/cl/ handler here, but
                // avoid some redirect latency and go right there, since
                // one is easy. (no server-side mapping)
                return "https://github.com/golang/go/issues/" + t;
            }
            return "https://golang.org/cl/" + t;
        }
    
        if (gerritChangeIdRE.test(t)) {
            return "https://golang.org/cl/" + t;
        }
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    }
    
    // Map returns a copy of the byte slice s with all its characters modified
    // according to the mapping function. If mapping returns a negative value, the character is
    // dropped from the byte slice with no replacement. The characters in s and the
    // output are interpreted as UTF-8-encoded code points.
    func Map(mapping func(r rune) rune, s []byte) []byte {
    	// In the worst case, the slice can grow when mapped, making
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. doc/go_spec.html

    Initially, the bound type parameters are known but the map is empty.
    During type unification, if a new type argument <code>A</code> is inferred,
    the respective mapping <code>P ➞ A</code> from type parameter to argument
    is added to the map.
    Conversely, when comparing types, a known type argument
    (a type argument for which a map entry already exists)
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    		}
    	}
    }
    
    func tenRunes(r rune) string {
    	runes := make([]rune, 10)
    	for i := range runes {
    		runes[i] = r
    	}
    	return string(runes)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	const step = 13
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    		return ((r - 'A' + step) % 26) + 'A'
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. misc/wasm/wasm_exec.js

    				false,
    				globalThis,
    				this,
    			];
    			this._goRefCounts = new Array(this._values.length).fill(Infinity); // number of references that Go has to a JS value, indexed by reference id
    			this._ids = new Map([ // mapping from JS values to reference ids
    				[0, 1],
    				[null, 2],
    				[true, 3],
    				[false, 4],
    				[globalThis, 5],
    				[this, 6],
    			]);
    			this._idPool = [];   // unused ids that have been garbage collected
    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)
  7. src/cmd/cgo/gcc.go

    func (tr *TypeRepr) Set(repr string, fargs ...interface{}) {
    	tr.Repr = repr
    	tr.FormatArgs = fargs
    }
    
    // FinishType completes any outstanding type mapping work.
    // In particular, it resolves incomplete pointer types.
    func (c *typeConv) FinishType(pos token.Pos) {
    	// Completing one pointer type might produce more to complete.
    	// Keep looping until they're all done.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/arm64.go

    // GetARM64SpecialOperand returns the internal representation of a special operand.
    func GetARM64SpecialOperand(name string) arm64.SpecialOperand {
    	if arm64SpecialOperand == nil {
    		// Generate the mapping automatically when the first time the function is called.
    		arm64SpecialOperand = map[string]arm64.SpecialOperand{}
    		for opd := arm64.SPOP_BEGIN; opd < arm64.SPOP_END; opd++ {
    			arm64SpecialOperand[opd.String()] = opd
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  9. doc/go_mem.html

    <p>
    A Go <i>program execution</i> is modeled as a set of goroutine executions,
    together with a mapping <i>W</i> that specifies the write-like operation that each read-like operation reads from.
    (Multiple executions of the same program can have different program executions.)
    </p>
    
    <p>
    <b>Requirement 2</b>:
    For a given program execution, the mapping <i>W</i>, when limited to synchronizing operations,
    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)
Back to top