Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Values (0.32 sec)

  1. misc/wasm/wasm_exec.js

    					},
    
    					"debug": (value) => {
    						console.log(value);
    					},
    				}
    			};
    		}
    
    		async run(instance) {
    			if (!(instance instanceof WebAssembly.Instance)) {
    				throw new Error("Go.run: WebAssembly.Instance expected");
    			}
    			this._inst = instance;
    			this.mem = new DataView(this._inst.exports.mem.buffer);
    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

    C type _GoString_, described above. The _GoString_ type will be
    automatically defined in the preamble. Note that there is no way for C
    code to create a value of this type; this is only useful for passing
    string values from Go to C and back to Go.
    
    Using //export in a file places a restriction on the preamble:
    since it is copied into two different C output files, it must not
    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/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)
  6. src/builtin/builtin.go

    // not a value, and the value returned is a pointer to a newly
    // allocated zero value of that type.
    func new(Type) *Type
    
    // The complex built-in function constructs a complex value from two
    // floating-point values. The real and imaginary parts must be of the same
    // size, either float32 or float64 (or assignable to them), and the return
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/archive/zip/struct.go

    	h.Modified = t
    	h.ModifiedDate, h.ModifiedTime = timeToMsDosTime(t)
    }
    
    const (
    	// Unix constants. The specification doesn't mention them,
    	// but these seem to be the values agreed on by tools.
    	s_IFMT   = 0xf000
    	s_IFSOCK = 0xc000
    	s_IFLNK  = 0xa000
    	s_IFREG  = 0x8000
    	s_IFBLK  = 0x6000
    	s_IFDIR  = 0x4000
    	s_IFCHR  = 0x2000
    	s_IFIFO  = 0x1000
    	s_ISUID  = 0x800
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    	if err := tw.writeRawHeader(&tw.blk, int64(len(data)), flag); err != nil {
    		return err
    	}
    	_, err := io.WriteString(tw, data)
    	return err
    }
    
    // writeRawHeader writes the value of blk, regardless of its value.
    // It sets up the Writer such that it can accept a file of the given size.
    // If the flag is a special header-only flag, then the size is treated as zero.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top