Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 270 for ptr (0.19 sec)

  1. src/runtime/stkframe.go

    	}
    	// Set methodValueCallFrameObjs[0].gcdataoff so that
    	// stackObjectRecord.gcdata() will work correctly with it.
    	ptr := uintptr(unsafe.Pointer(&methodValueCallFrameObjs[0]))
    	var mod *moduledata
    	for datap := &firstmoduledata; datap != nil; datap = datap.next {
    		if datap.gofunc <= ptr && ptr < datap.end {
    			mod = datap
    			break
    		}
    	}
    	if mod == nil {
    		throw("methodValueCallFrameObjs is not in a module")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "PtrIndex", argLength: 2},             // arg0=ptr, arg1=index. Computes ptr+sizeof(*v.type)*index, where index is extended to ptrwidth type
    	{name: "OffPtr", argLength: 1, aux: "Int64"}, // arg0 + auxint (arg0 and result are pointers)
    
    	// Slices
    	{name: "SliceMake", argLength: 3},                // arg0=ptr, arg1=len, arg2=cap
    	{name: "SlicePtr", argLength: 1, typ: "BytePtr"}, // ptr(arg0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	"sigs.k8s.io/gateway-api/apis/v1beta1"
    
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/kube/krt"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/workloadapi"
    )
    
    type InboundBinding struct {
    	Port     uint32
    	Protocol workloadapi.ApplicationTunnel_Protocol
    }
    
    type Waypoint struct {
    	krt.Named
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec.js

    			let offset = 4096;
    
    			const strPtr = (str) => {
    				const ptr = offset;
    				const bytes = encoder.encode(str + "\0");
    				new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);
    				offset += bytes.length;
    				if (offset % 8 !== 0) {
    					offset += 8 - (offset % 8);
    				}
    				return ptr;
    			};
    
    			const argc = this.argv.length;
    
    			const argvPtrs = [];
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/scheme/scheme_test.go

    								Args: runtime.RawExtension{
    									Object: &v1.InterPodAffinityArgs{
    										HardPodAffinityWeight: ptr.To[int32](5),
    									},
    								},
    							},
    							{
    								Name: "VolumeBinding",
    								Args: runtime.RawExtension{
    									Object: &v1.VolumeBindingArgs{
    										BindTimeoutSeconds: ptr.To[int64](300),
    										Shape: []v1.UtilizationShapePoint{
    											{
    												Utilization: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. cmd/kube-proxy/app/server_test.go

    			},
    			ClusterCIDR:      tc.clusterCIDR,
    			ConfigSyncPeriod: metav1.Duration{Duration: 15 * time.Second},
    			Conntrack: kubeproxyconfig.KubeProxyConntrackConfiguration{
    				MaxPerCore:            ptr.To[int32](2),
    				Min:                   ptr.To[int32](1),
    				TCPCloseWaitTimeout:   &metav1.Duration{Duration: 10 * time.Second},
    				TCPEstablishedTimeout: &metav1.Duration{Duration: 20 * time.Second},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      // to the caller.
      virtual std::unique_ptr<RunMetadata> ExportRunMetadata() = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
      //===--------------------------------------------------------------------===//
      // Experimental Custom Device.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 06 08:34:00 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/go/types/builtins.go

    			// result is constant - no need to record signature
    		}
    		x.typ = Typ[Uintptr]
    
    	case _Slice:
    		// unsafe.Slice(ptr *T, len IntegerType) []T
    		check.verifyVersionf(call.Fun, go1_17, "unsafe.Slice")
    
    		ptr, _ := coreType(x.typ).(*Pointer)
    		if ptr == nil {
    			check.errorf(x, InvalidUnsafeSlice, invalidArg+"%s is not a pointer", x)
    			return
    		}
    
    		y := args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. schema/schema.go

    	if value.Kind() == reflect.Ptr && value.IsNil() {
    		value = reflect.New(value.Type().Elem())
    	}
    	modelType := reflect.Indirect(value).Type()
    
    	if modelType.Kind() == reflect.Interface {
    		modelType = reflect.Indirect(reflect.ValueOf(dest)).Elem().Type()
    	}
    
    	for modelType.Kind() == reflect.Slice || modelType.Kind() == reflect.Array || modelType.Kind() == reflect.Ptr {
    		modelType = modelType.Elem()
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/range.go

    		// must not be any calls.
    
    		// Pointer to current iteration position. Start on entry to the loop
    		// with the pointer in hu.
    		ptr := ir.NewUnaryExpr(base.Pos, ir.OSPTR, hs)
    		ptr.SetBounded(true)
    		huVal := ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUNSAFEPTR], ptr)
    		huVal = ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUINTPTR], huVal)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
Back to top