Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 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. src/archive/tar/strconv_test.go

    		}
    	}
    }
    
    func TestParseNumeric(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want int64
    		ok   bool
    	}{
    		// Test base-256 (binary) encoded values.
    		{"", 0, true},
    		{"\x80", 0, true},
    		{"\x80\x00", 0, true},
    		{"\x80\x00\x00", 0, true},
    		{"\xbf", (1 << 6) - 1, true},
    		{"\xbf\xff", (1 << 14) - 1, true},
    		{"\xbf\xff\xff", (1 << 22) - 1, true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/archive/tar/reader_test.go

    		},
    		ok: false,
    	}, {
    		in: map[string]string{
    			"missing":          "missing",
    			"SCHILY.xattr.key": "value",
    		},
    		want: &Header{
    			Xattrs: map[string]string{"key": "value"},
    			PAXRecords: map[string]string{
    				"missing":          "missing",
    				"SCHILY.xattr.key": "value",
    			},
    		},
    		ok: true,
    	}}
    
    	for i, v := range vectors {
    		got := new(Header)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    // If the checksum fails, then FormatUnknown is returned.
    func (b *block) getFormat() Format {
    	// Verify checksum.
    	var p parser
    	value := p.parseOctal(b.toV7().chksum())
    	chksum1, chksum2 := b.computeChecksum()
    	if p.err != nil || (value != chksum1 && value != chksum2) {
    		return FormatUnknown
    	}
    
    	// Guess the magic values.
    	magic := string(b.toUSTAR().magic())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. doc/asm.html

    <p>
    This assembler is used by GOARCH values ppc64 and ppc64le.
    </p>
    
    <p>
    Reference: <a href="/pkg/cmd/internal/obj/ppc64">Go PPC64 Assembly Instructions Reference Manual</a>
    </p>
    
    <h3 id="s390x">IBM z/Architecture, a.k.a. s390x</h3>
    
    <p>
    The registers <code>R10</code> and <code>R11</code> are reserved.
    The assembler uses them to hold temporary values when assembling some instructions.
    </p>
    
    <p>
    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)
  10. src/archive/zip/reader.go

    	return nil
    }
    
    func readDataDescriptor(r io.Reader, f *File) error {
    	var buf [dataDescriptorLen]byte
    	// The spec says: "Although not originally assigned a
    	// signature, the value 0x08074b50 has commonly been adopted
    	// as a signature value for the data descriptor record.
    	// Implementers should be aware that ZIP files may be
    	// encountered with or without this signature marking data
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top