Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for _values (0.15 sec)

  1. misc/wasm/wasm_exec.js

    						this._goRefCounts[id]--;
    						if (this._goRefCounts[id] === 0) {
    							const v = this._values[id];
    							this._values[id] = null;
    							this._ids.delete(v);
    							this._idPool.push(id);
    						}
    					},
    
    					// func stringVal(value string) ref
    					"syscall/js.stringVal": (sp) => {
    						sp >>>= 0;
    						storeValue(sp + 24, loadString(sp + 8));
    					},
    
    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)
  2. src/cmd/cgo/doc.go

    [runtime.Pinner].
    
    The _GoString_ type also may not be pinned with [runtime.Pinner].
    Because it includes a Go pointer, the memory it points to is only pinned
    for the duration of the call; _GoString_ values may not be retained by C
    code.
    
    A Go function called by C code may return a Go pointer to pinned memory
    (which implies that it may not return a string, slice, channel, and so
    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. doc/go1.17_spec.html

    <a href="#Function_literals">function literal</a> or
    <a href="#Method_values">method value</a>.
    </p>
    
    <p>
    It is legal to derive a function value from a method of an interface type.
    The resulting function takes an explicit receiver of that interface type.
    </p>
    
    <h3 id="Method_values">Method values</h3>
    
    <p>
    If the expression <code>x</code> has static type <code>T</code> and
    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. src/arena/arena.go

    Arenas allocate large chunks of memory for Go values, so they're likely to
    be inefficient for allocating only small amounts of small Go values. They're
    best used in bulk, on the order of MiB of memory allocated on each use.
    
    Note that by allowing for this limited form of manual memory allocation
    that use-after-free bugs are possible with regular Go values. This package
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/ast.go

    	case *ast.RangeStmt:
    		f.walk(&n.Key, ctxExpr, visit)
    		f.walk(&n.Value, ctxExpr, visit)
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(n.Body, ctxStmt, visit)
    
    	case *ast.ImportSpec:
    	case *ast.ValueSpec:
    		f.walk(&n.Type, ctxType, visit)
    		if len(n.Names) == 2 && len(n.Values) == 1 {
    			f.walk(&n.Values[0], ctxAssign2, visit)
    		} else {
    			f.walk(n.Values, ctxExpr, visit)
    		}
    	case *ast.TypeSpec:
    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)
  6. src/archive/zip/reader_test.go

    		// Corrupt foo.txt's final crc32 byte, in both
    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    		// TODO(bradfitz): add a new test that only corrupts
    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    		// is what matters.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. doc/go_spec.html

    <a href="#Function_literals">function literal</a> or
    <a href="#Method_values">method value</a>.
    </p>
    
    <p>
    It is legal to derive a function value from a method of an interface type.
    The resulting function takes an explicit receiver of that interface type.
    </p>
    
    <h3 id="Method_values">Method values</h3>
    
    <p>
    If the expression <code>x</code> has static type <code>T</code> and
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. src/archive/tar/strconv.go

    	}
    	return record, nil
    }
    
    // validPAXRecord reports whether the key-value pair is valid where each
    // record is formatted as:
    //
    //	"%d %s=%s\n" % (size, key, value)
    //
    // Keys and values should be UTF-8, but the number of bad writers out there
    // forces us to be a more liberal.
    // Thus, we only reject all keys with NUL, and only reject NULs in values
    // for the PAX version of the USTAR string fields.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. src/bytes/buffer.go

    // invalid usage. opReadRuneX constants are chosen such that
    // converted to int they correspond to the rune size that was read.
    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    // names and comments, which is easier to see when being explicit.
    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    // allowedFormats determines which formats can be used.
    // The value returned is the logical OR of multiple possible formats.
    // If the value is FormatUnknown, then the input Header cannot be encoded
    // and an error is returned explaining why.
    //
    // As a by-product of checking the fields, this function returns paxHdrs, which
    // contain all fields that could not be directly encoded.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
Back to top