Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for alignof (0.38 sec)

  1. src/cmd/internal/obj/x86/asm6.go

    )
    
    // Instruction layout.
    
    // Loop alignment constants:
    // want to align loop entry to loopAlign-byte boundary,
    // and willing to insert at most maxLoopPad bytes of NOP to do so.
    // We define a loop entry as the target of a backward jump.
    //
    // gcc uses maxLoopPad = 10 for its 'generic x86-64' config,
    // and it aligns all jump targets, not just backward jump targets.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.s

    hashADDone:
    	RET
    
    // ----------------------------------------------------------------------------
    // func chacha20Poly1305Open(dst, key, src, ad []byte) bool
    TEXT ·chacha20Poly1305Open(SB), 0, $288-97
    	// For aligned stack access
    	MOVQ SP, BP
    	ADDQ $32, BP
    	ANDQ $-32, BP
    	MOVQ dst+0(FP), oup
    	MOVQ key+24(FP), keyp
    	MOVQ src+48(FP), inp
    	MOVQ src_len+56(FP), inl
    	MOVQ ad+72(FP), adp
    
    	// Check for AVX2 support
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  3. cmd/server_test.go

    	getMD5 := getMD5Hash(getContent)
    
    	// Compare putContent and getContent.
    	c.Assert(putMD5, getMD5)
    }
    
    // TestGetPartialObjectMisAligned - tests get object partially miss-aligned.
    // create a large buffer of miss-aligned data and upload it.
    // then make partial range requests to while fetching it back and assert the response content.
    func (s *TestSuiteCommon) TestGetPartialObjectMisAligned(c *check) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  4. src/debug/elf/elf.go

    	Paddr  uint32 /* Physical address (not used). */
    	Filesz uint32 /* Size of contents in file. */
    	Memsz  uint32 /* Size of contents in memory. */
    	Flags  uint32 /* Access permission flags. */
    	Align  uint32 /* Alignment in memory and file. */
    }
    
    // ELF32 Dynamic structure. The ".dynamic" section contains an array of them.
    type Dyn32 struct {
    	Tag int32  /* Entry type. */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        for (const auto &axis_int : perm.getValues<APInt>()) {
          axes.push_back(axis_int.getSExtValue());
        }
        if (axes != SmallVector<int64_t>({1, 2, 0, 3})) return failure();
    
        // Add reshape op to be aligned with the input restriction with
        // TFL::resize_nearest_neighor op.
        const int32_t image_size = static_cast<int32_t>(params_type.getShape()[0]);
        const int32_t feature_size =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        return input_tensor.reshape(input_tensor.getType().cloneWith(
            output_shape, input_tensor.getElementType()));
      }
    
      // MLIR implementation pads elements < 8 bits to 8 bits and pads non byte
      // aligned to the nearest byte. So this is allowed.
      const char* raw_input = input_tensor.getRawData().data();
      const int element_byte_size =
          input_tensor.getElementType().getIntOrFloatBitWidth() / 8;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm9.go

    		// The function alignment is not promoted on AIX at this time.
    		// TODO: Investigate AIX function alignment.
    		if ctxt.Headtype != objabi.Haix && cursym.Func().Align < int32(a) {
    			cursym.Func().Align = int32(a)
    		}
    		if pc&(a-1) != 0 {
    			return int(a - (pc & (a - 1)))
    		}
    	default:
    		ctxt.Diag("Unexpected alignment: %d for PCALIGN directive\n", a)
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    	if readgstatus(newg) != _Gdead {
    		throw("newproc1: new g is not Gdead")
    	}
    
    	totalSize := uintptr(4*goarch.PtrSize + sys.MinFrameSize) // extra space in case of reads slightly beyond frame
    	totalSize = alignUp(totalSize, sys.StackAlign)
    	sp := newg.stack.hi - totalSize
    	if usesLR {
    		// caller's LR
    		*(*uintptr)(unsafe.Pointer(sp)) = 0
    		prepGoExitFrame(sp)
    	}
    	if GOARCH == "arm64" {
    		// caller's FP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top