Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 965 for blockAsm (0.14 sec)

  1. src/crypto/sha512/sha512block_arm64.go

    //go:build !purego
    
    package sha512
    
    import "internal/cpu"
    
    func block(dig *digest, p []byte) {
    	if cpu.ARM64.HasSHA512 {
    		blockAsm(dig, p)
    		return
    	}
    	blockGeneric(dig, p)
    }
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 388 bytes
    - Viewed (0)
  2. src/crypto/sha512/sha512block_arm64.s

    #define SHA512ROUND_LAST(i0, i1, i2, i3, i4, rc0, in0) \
    	SHA512TRANS(i0, i1, i2, i3, i4, rc0, in0) \
    	SHA512H	V7.D2, V6, i3 \
    	VADD	i3.D2, i1.D2, i4.D2 \
    	SHA512H2	i0.D2, i1, i3
    
    // func blockAsm(dig *digest, p []byte)
    TEXT ·blockAsm(SB),NOSPLIT,$0
    	MOVD	dig+0(FP), R0
    	MOVD	p_base+8(FP), R1
    	MOVD	p_len+16(FP), R2
    	MOVD	·_K+0(SB), R3
    
    	// long enough to prefetch
    	PRFM	(R3), PLDL3KEEP
    	// load digest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/s390x/ssa.go

    		return s390x.ACGIJ
    	case ssa.BlockS390XCLIJ:
    		return s390x.ACLIJ
    	case ssa.BlockS390XCLGIJ:
    		return s390x.ACLGIJ
    	}
    	b.Fatalf("blockAsm not implemented: %s", b.LongString())
    	panic("unreachable")
    }
    
    func ssaGenBlock(s *ssagen.State, b, next *ssa.Block) {
    	// Handle generic blocks first.
    	switch b.Kind {
    	case ssa.BlockPlain:
    		if b.Succs[0].Block() != next {
    			p := s.Prog(s390x.ABR)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  4. src/crypto/cipher/cbc.go

    		panic("crypto/cipher: input not full blocks")
    	}
    	if len(dst) < len(src) {
    		panic("crypto/cipher: output smaller than input")
    	}
    	if alias.InexactOverlap(dst[:len(src)], src) {
    		panic("crypto/cipher: invalid buffer overlap")
    	}
    	if len(src) == 0 {
    		return
    	}
    
    	// For each block, we need to xor the decrypted data with the previous block's ciphertext (the iv).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 03:55:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// be accessed while holding the Block's mu lock. The data vector should only
      /// be accessed after state == FINISHED, and it should never be modified.
      ///
      /// In order to prevent deadlocks, never grab the block-cache-wide mu_ lock
      /// AFTER grabbing any block's mu lock. It is safe to grab mu without locking
      /// mu_.
      struct Block {
        /// The block data.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 04:46:34 UTC 2020
    - 10.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/fuse.go

    )
    
    // fuse simplifies control flow by joining basic blocks.
    func fuse(f *Func, typ fuseType) {
    	for changed := true; changed; {
    		changed = false
    		// Be sure to avoid quadratic behavior in fuseBlockPlain. See issue 13554.
    		// Previously this was dealt with using backwards iteration, now fuseBlockPlain
    		// handles large runs of blocks.
    		for i := len(f.Blocks) - 1; i >= 0; i-- {
    			b := f.Blocks[i]
    			if typ&fuseTypeIf != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    			return nil, err
    		}
    
    		offset := ei.V2Obj.EcBSize * blockNum
    		if offset >= m.size {
    			return nil, fmt.Errorf("block %d out of range. offset %d > size %d", blockNum, offset, m.size)
    		}
    		m.blockOffset = offset
    		m.blocks = (m.size + ei.V2Obj.EcBSize - 1) / ei.V2Obj.EcBSize
    		if m.blocks > 0 {
    			m.blocks--
    		}
    		if blockNum < m.blocks {
    			m.size = ei.V2Obj.EcBSize
    		} else {
    			m.size -= offset
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/sparsetree.go

    //
    // Property (1) means that blocks sorted by domorder always have a maximal dominant block first.
    // Property (2) allows searches for dominated blocks to exit early.
    func (t SparseTree) domorder(x *Block) int32 {
    	// Here is an argument that entry(x) provides the properties documented above.
    	//
    	// Entry and exit values are assigned in a depth-first dominator tree walk.
    	// For all blocks x and y, one of the following holds:
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      EXPECT_EQ(out, B);
      EXPECT_EQ(calls, 4);
      // Remove the blocks from "a".
      cache.RemoveFile("a");
      // Both blocks from "b" should still be there.
      TF_EXPECT_OK(ReadCache(&cache, "b", 0, n, &out));
      EXPECT_EQ(out, b);
      TF_EXPECT_OK(ReadCache(&cache, "b", 8, n, &out));
      EXPECT_EQ(out, B);
      EXPECT_EQ(calls, 4);
      // The blocks from "a" should not be there.
      TF_EXPECT_OK(ReadCache(&cache, "a", 0, n, &out));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
  10. src/runtime/mspanset.go

    	// to finish popping.
    	if block.popped.Add(1) == spanSetBlockEntries {
    		// Clear the block's pointer.
    		blockp.StoreNoWB(nil)
    
    		// Return the block to the block pool.
    		spanSetBlockPool.free(block)
    	}
    	return s
    }
    
    // reset resets a spanSet which is empty. It will also clean up
    // any left over blocks.
    //
    // Throws if the buf is not empty.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top