Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for reflect (0.33 sec)

  1. misc/wasm/wasm_exec.js

    						sp >>>= 0;
    						Reflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));
    					},
    
    					// func valueCall(v ref, m string, args []ref) (ref, bool)
    					"syscall/js.valueCall": (sp) => {
    						sp >>>= 0;
    						try {
    							const v = loadValue(sp + 8);
    							const m = Reflect.get(v, loadString(sp + 16));
    							const args = loadSliceOfValues(sp + 32);
    							const result = Reflect.apply(m, v, args);
    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/arena/arena.go

    // T must be a pointer, a slice, or a string, otherwise this function will panic.
    func Clone[T any](s T) T {
    	return runtime_arena_heapify(s).(T)
    }
    
    //go:linkname reflect_arena_New reflect.arena_New
    func reflect_arena_New(a *Arena, typ any) any {
    	return runtime_arena_arena_New(a.a, typ)
    }
    
    //go:linkname runtime_arena_newArena
    func runtime_arena_newArena() unsafe.Pointer
    
    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)
  3. api/go1.18.txt

    pkg net/netip, type Prefix struct
    pkg reflect, const Pointer = 22
    pkg reflect, const Pointer Kind
    pkg reflect, func PointerTo(Type) Type
    pkg reflect, method (*MapIter) Reset(Value)
    pkg reflect, method (Value) CanComplex() bool
    pkg reflect, method (Value) CanFloat() bool
    pkg reflect, method (Value) CanInt() bool
    pkg reflect, method (Value) CanUint() bool
    pkg reflect, method (Value) FieldByIndexErr([]int) (Value, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    // license that can be found in the LICENSE file.
    
    package zip
    
    import (
    	"bytes"
    	"encoding/binary"
    	"encoding/hex"
    	"internal/obscuretestdata"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"reflect"
    	"regexp"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"time"
    )
    
    type ZipTest struct {
    	Name     string
    	Source   func() (r io.ReaderAt, size int64) // if non-nil, used instead of testdata/<Name> file
    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)
  5. src/cmd/cgo/internal/test/callback_windows.go

    		if (ControlPc < 0x10000) {
    			break;
    		}
    
    		BackTrace[i] = (PVOID)(ControlPc);
    	}
    	return i;
    #else
    	return 0;
    #endif
    }
    */
    import "C"
    
    import (
    	"internal/testenv"
    	"reflect"
    	"runtime"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallersSEH(t *testing.T) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import (
    	"bytes"
    	"compress/bzip2"
    	"crypto/md5"
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	"os"
    	"path"
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestReader(t *testing.T) {
    	vectors := []struct {
    		file    string    // Test input file
    		headers []*Header // Expected output headers
    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)
  7. src/cmd/cgo/internal/test/issue24161res/restype.go

    package issue24161res
    
    /*
    #cgo LDFLAGS: -framework CoreFoundation
    #include <CoreFoundation/CoreFoundation.h>
    */
    import "C"
    import (
    	"reflect"
    	"testing"
    )
    
    func Test(t *testing.T) {
    	if k := reflect.TypeOf(C.CFArrayCreate(0, nil, 0, nil)).Kind(); k != reflect.Uintptr {
    		t.Fatalf("bad kind %s\n", k)
    	}
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 486 bytes
    - Viewed (0)
  8. api/next/60427.txt

    pkg reflect, type Type interface, OverflowComplex(complex128) bool #60427
    pkg reflect, type Type interface, OverflowFloat(float64) bool #60427
    pkg reflect, type Type interface, OverflowInt(int64) bool #60427
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 28 14:08:38 GMT 2024
    - 275 bytes
    - Viewed (0)
  9. src/archive/tar/common.go

    // This package aims to cover most variations of the format,
    // including those produced by GNU and BSD tar tools.
    package tar
    
    import (
    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io/fs"
    	"math"
    	"path"
    	"reflect"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // BUG: Use of the Uid and Gid fields in Header could overflow on 32-bit
    // architectures. If a large value is encountered when decoding, the result
    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)
  10. doc/go1.17_spec.html

    	    statement, or a possibly labeled <a href="#Fallthrough_statements">"fallthrough"
    	    statement</a>.</li>
    	</ul>
    </li>
    
    <li>
    	A <a href="#Select_statements">"select" statement</a> in which:
    	<ul>
    	<li>there are no "break" statements referring to the "select" statement, and</li>
    	<li>the statement lists in each case, including the default if present,
    	    end in a terminating statement.</li>
    	</ul>
    </li>
    
    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)
Back to top