Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for offsetsof (0.19 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      bool CheckGpuDelegateCompatibility(uint8_t* model_buffer_pointer);
    
      // Append constant and custom op buffers at the end of the flatbuffer and
      // calculate the offsets
      void AppendBufferData(absl::Cord& result);
    
      // Update constant & custom op buffer offsets
      // Return false if fail to update offset
      bool UpdateBufferOffsets(tflite::Model* mutable_model);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/data.go

    			o = ldr.SymValue(rs) + r.Add()
    			if rt == objabi.R_PEIMAGEOFF {
    				// The R_PEIMAGEOFF offset is a RVA, so subtract
    				// the base address for the executable.
    				o -= PEBASE
    			}
    
    			// On amd64, 4-byte offsets will be sign-extended, so it is impossible to
    			// access more than 2GB of static data; fail at link time is better than
    			// fail at runtime. See https://golang.org/issue/7980.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```mlir
          %old_val = "tf.ReadVariableOp"(%buffer)
          %old_size = "tf.ReadVariableOp"(%size)
          %offsets = "tf.ConcatV2"(%old_size, %other_dims_0s, %const0)
          %new_val = "tf.XlaDynamicUpdateSlice"(%old_val, %push_val, %offsets)
          "tf.AssignVariableOp"(%buffer, %new_val)
          %new_size = "tf.AddV2"(%old_size, %const1)
          "tf.AssignVariableOp"(%size, %new_size)
        ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/asm9.go

    			}
    		}
    
    	case 7: /* mov r, soreg ==> stw o(r) */
    		r := int(p.To.Reg)
    		v := c.regoff(&p.To)
    		if int32(int16(v)) != v {
    			log.Fatalf("mishandled instruction %v", p)
    		}
    		// Offsets in DS form stores must be a multiple of 4
    		inst := c.opstore(p.As)
    		if c.opform(inst) == DS_FORM && v&0x3 != 0 {
    			log.Fatalf("invalid offset for DS form load/store %v", p)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    ExpressionStmt = Expression .
    </pre>
    
    <p>
    The following built-in functions are not permitted in statement context:
    </p>
    
    <pre>
    append cap complex imag len make new real
    unsafe.Add unsafe.Alignof unsafe.Offsetof unsafe.Sizeof unsafe.Slice
    </pre>
    
    <pre>
    h(x+y)
    f.Close()
    &lt;-ch
    (&lt;-ch)
    len("foo")  // illegal if len is the built-in function
    </pre>
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              "multiplier");
        }
    
        // Slicing with dynamic offsets (helper method advised)
        auto create_slice = [&](mlir::Value tensor, int depth_idx, int channel_idx,
                                bool is_kernel = false) -> mlir::Value {
          std::vector<int64_t> tensor_shape =
              mlir::cast<ShapedType>(tensor.getType()).getShape().vec();
    
          // Calculate offsets based on depth_idx, channel_idx and tensor_shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    		err = errnoErr(e1)
    	}
    	return
    }
    
    func MapViewOfFile(handle Handle, access uint32, offsetHigh uint32, offsetLow uint32, length uintptr) (addr uintptr, err error) {
    	r0, _, e1 := syscall.Syscall6(procMapViewOfFile.Addr(), 5, uintptr(handle), uintptr(access), uintptr(offsetHigh), uintptr(offsetLow), uintptr(length), 0)
    	addr = uintptr(r0)
    	if addr == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    	// `ExecObjectLayerAPINilTest` manages the operation.
    	ExecObjectLayerAPINilTest(t, nilBucket, nilObject, instanceType, apiRouter, nilReq)
    }
    
    // Tests sanity of attempting to copying each parts at offsets from an existing
    // file and create a new object. Also validates if the written is same as what we
    // expected.
    func TestAPICopyObjectPartHandlerSanity(t *testing.T) {
    	defer DetectTestLeak(t)()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/asm7.go

    	// so instruction sequences that use REGTMP are unsafe to
    	// preempt asynchronously.
    	obj.MarkUnsafePoints(c.ctxt, c.cursym.Func().Text, c.newprog, c.isUnsafePoint, c.isRestartable)
    
    	// Now that we know byte offsets, we can generate jump table entries.
    	for _, jt := range cursym.Func().JumpTables {
    		for i, p := range jt.Targets {
    			// The ith jumptable entry points to the p.Pc'th
    			// byte in the function symbol s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    }
    
    func check2ndField(x any, offs uintptr, t *testing.T) {
    	s := ValueOf(x)
    	f := s.Type().Field(1)
    	if f.Offset != offs {
    		t.Error("mismatched offsets in structure alignment:", f.Offset, offs)
    	}
    }
    
    // Check that structure alignment & offsets viewed through reflect agree with those
    // from the compiler itself.
    func TestAlignment(t *testing.T) {
    	type T1inner struct {
    		a int
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top