Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 652 for ptr (0.34 sec)

  1. tensorflow/compiler/mlir/lite/python/converter_python_api_wrapper.cc

                 quantization_py_function_library) {
            return tensorflow::PyoOrThrow(tflite::Convert(
                model_flags_proto_txt_raw.ptr(), toco_flags_proto_txt_raw.ptr(),
                input_contents_txt_raw.ptr(), extended_return,
                debug_info_txt_raw.ptr(), enable_mlir_converter,
                quantization_py_function_library));
          },
          py::arg("model_flags_proto_txt_raw"), py::arg("toco_flags_proto_txt_raw"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/internal/runtime/atomic/bench_test.go

    	x = 1
    	ptr := &x
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			atomic.Cas(ptr, 1, 0)
    			atomic.Cas(ptr, 0, 1)
    		}
    	})
    }
    
    func BenchmarkCas64(b *testing.B) {
    	var x uint64
    	x = 1
    	ptr := &x
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			atomic.Cas64(ptr, 1, 0)
    			atomic.Cas64(ptr, 0, 1)
    		}
    	})
    }
    func BenchmarkXchg(b *testing.B) {
    	var x uint32
    	x = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_386.s

    // void	·Or8(byte volatile*, byte);
    TEXT ·Or8(SB), NOSPLIT, $0-5
    	MOVL	ptr+0(FP), AX
    	MOVB	val+4(FP), BX
    	LOCK
    	ORB	BX, (AX)
    	RET
    
    // void	·And8(byte volatile*, byte);
    TEXT ·And8(SB), NOSPLIT, $0-5
    	MOVL	ptr+0(FP), AX
    	MOVB	val+4(FP), BX
    	LOCK
    	ANDB	BX, (AX)
    	RET
    
    TEXT ·Store8(SB), NOSPLIT, $0-5
    	MOVL	ptr+0(FP), BX
    	MOVB	val+4(FP), AX
    	XCHGB	AX, 0(BX)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_utils_test.go

    		{maxUnavailable: ptr.To(intstr.FromString("50%")), replicaCount: 5, expectedMaxUnavailable: 2},
    		{maxUnavailable: ptr.To(intstr.FromString("10%")), replicaCount: 5, expectedMaxUnavailable: 1},
    		{maxUnavailable: ptr.To(intstr.FromString("1%")), replicaCount: 0, expectedMaxUnavailable: 1},
    		{maxUnavailable: ptr.To(intstr.FromString("0%")), replicaCount: 0, expectedMaxUnavailable: 1},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v.AuxInt = int32ToAuxInt(int32(c))
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (FMOVDloadidx ptr (SLLconst [3] idx) mem)
    	// result: (FMOVDloadidx8 ptr idx mem)
    	for {
    		ptr := v_0
    		if v_1.Op != OpARM64SLLconst || auxIntToInt64(v_1.AuxInt) != 3 {
    			break
    		}
    		idx := v_1.Args[0]
    		mem := v_2
    		v.reset(OpARM64FMOVDloadidx8)
    		v.AddArg3(ptr, idx, mem)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  6. src/internal/reflectlite/value.go

    		// Value is indirect, and so is the interface we're making.
    		ptr := v.ptr
    		if v.flag&flagAddr != 0 {
    			c := unsafe_New(t)
    			typedmemmove(t, c, ptr)
    			ptr = c
    		}
    		e.Data = ptr
    	case v.flag&flagIndir != 0:
    		// Value is indirect, but interface is direct. We need
    		// to load the data at v.ptr into the interface data word.
    		e.Data = *(*unsafe.Pointer)(v.ptr)
    	default:
    		// Value is direct, and so is the interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/runtime/mkduff.go

    }
    
    func zero386(w io.Writer) {
    	// AX: zero
    	// DI: ptr to memory to be zeroed
    	// DI is updated as a side effect.
    	fmt.Fprintln(w, "TEXT runtime·duffzero(SB), NOSPLIT, $0-0")
    	for i := 0; i < 128; i++ {
    		fmt.Fprintln(w, "\tSTOSL")
    	}
    	fmt.Fprintln(w, "\tRET")
    }
    
    func copy386(w io.Writer) {
    	// SI: ptr to source memory
    	// DI: ptr to destination memory
    	// SI and DI are updated as a side effect.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:04:21 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. pkg/controller/job/indexed_job_utils_test.go

    				Spec: batch.JobSpec{
    					Completions:          ptr.To[int32](2),
    					BackoffLimitPerIndex: ptr.To[int32](0),
    				},
    			},
    			pods: []*v1.Pod{
    				buildPod().indexFailureCount("0").phase(v1.PodFailed).index("0").Pod,
    			},
    			wantFailedIndexes: nil,
    		},
    		"pod outside completions is ignored": {
    			job: batch.Job{
    				Spec: batch.JobSpec{
    					Completions:          ptr.To[int32](2),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritePPC64.go

    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is32BitInt(t) && t.IsSigned()) {
    			break
    		}
    		v.reset(OpPPC64MOVWload)
    		v.AddArg2(ptr, mem)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: is32BitInt(t) && !t.IsSigned()
    	// result: (MOVWZload ptr mem)
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is32BitInt(t) && !t.IsSigned()) {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  10. src/runtime/checkptr.go

    // addressed by ptr is known to straddle more than one Go allocation.
    func checkptrStraddles(ptr unsafe.Pointer, size uintptr) bool {
    	if size <= 1 {
    		return false
    	}
    
    	// Check that add(ptr, size-1) won't overflow. This avoids the risk
    	// of producing an illegal pointer value (assuming ptr is legal).
    	if uintptr(ptr) >= -(size - 1) {
    		return true
    	}
    	end := add(ptr, size-1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top