Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 510 for aligned (0.12 sec)

  1. internal/bpool/bpool.go

    // available in the pool.
    func (bp *BytePoolCap) Get() (b []byte) {
    	if bp == nil {
    		return nil
    	}
    	select {
    	case b = <-bp.c:
    		// reuse existing buffer
    	default:
    		// create new aligned buffer
    		if bp.wcap > 0 {
    			b = reedsolomon.AllocAligned(1, bp.wcap)[0][:bp.w]
    		} else {
    			b = reedsolomon.AllocAligned(1, bp.w)[0]
    		}
    	}
    	return
    }
    
    // Put returns the given Buffer to the BytePool.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:44:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/c/tensor_interface.h

      // Return size in bytes of the Tensor
      virtual size_t ByteSize() const = 0;
      // Returns a pointer to tensor data
      virtual void* Data() const = 0;
    
      // Returns if the tensor is aligned
      virtual bool IsAligned() const = 0;
      // Returns if their is sole ownership of this Tensor and thus it can be moved.
      virtual bool CanMove() const = 0;
    
      virtual std::string SummarizeValue() const = 0;
    
     protected:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 09 23:17:07 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager.go

    		if err != nil {
    			return nil, err
    		}
    		if allocateRemainingFrom(preferred.Intersection(aligned)) {
    			return allocated, nil
    		}
    		// Then fallback to allocate from the aligned set if no preferred list
    		// is returned (or not enough devices are returned in that list).
    		if allocateRemainingFrom(aligned) {
    			return allocated, nil
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. src/internal/bytealg/compare_mips64x.s

    entry:
    	ADDV	R3, R10, R8	// R3 start of a, R8 end of a
    	BEQ	R3, R8, samebytes // length is 0
    
    	SRLV	$4, R10		// R10 is number of chunks
    	BEQ	R0, R10, byte_loop
    
    	// make sure both a and b are aligned.
    	OR	R3, R4, R11
    	AND	$7, R11
    	BNE	R0, R11, byte_loop
    
    chunk16_loop:
    	BEQ	R0, R10, byte_loop
    	MOVV	(R3), R6
    	MOVV	(R4), R7
    	BNE	R6, R7, byte_loop
    	MOVV	8(R3), R13
    	MOVV	8(R4), R14
    	ADDV	$16, R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.groovy

                                it.belongsTo("aligned-group:nebula:\${it.getId().getVersion()}")
                            }
                            if (it.getId().getGroup().startsWith("proto")) {
                                it.belongsTo("aligned-group:proto:\${it.getId().getVersion()}")
                            }
                            if (it.getId().getGroup().startsWith("align")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 59.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/doc.go

    how to handle OVG information, and much more.
    
    5. Align directive
    
    Starting with Go 1.12, Go asm supports the PCALIGN directive, which indicates
    that the next instruction should be aligned to the specified value. Currently
    8 and 16 are the only supported values, and a maximum of 2 NOPs will be added
    to align the code. That means in the case where the code is aligned to 4 but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImpl.java

            this.nextEntryOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            if ( ( this.nextEntryOffset % 4 ) != 0 ) {
                throw new SMBProtocolDecodingException("Non aligned nextEntryOffset");
            }
    
            this.action = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.fileNameLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 17 08:55:32 UTC 2018
    - 3K bytes
    - Viewed (0)
  8. src/internal/goarch/goarch.go

    // the compiler word, the link editor word, and the TOC save word.
    const MinFrameSize = _MinFrameSize
    
    // StackAlign is the required alignment of the SP register.
    // The stack must be at least word aligned, but some architectures require more.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:48:21 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  9. src/runtime/memclr_mips64x.s

    	VMOVB	W0, -48(R4)
    	VMOVB	W0, -32(R4)
    	VMOVB	W0, -16(R4)
    	JMP	done
    
    no_msa:
    	// if less than 8 bytes, do one byte at a time
    	SGTU	$8, R2, R3
    	BNE	R3, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R1, R3
    	BEQ	R3, words
    	MOVB	R0, (R1)
    	ADDV	$1, R1
    	JMP	-4(PC)
    
    words:
    	// do 8 bytes at a time if there is room
    	ADDV	$-7, R4, R2
    
    	SGTU	R2, R1, R3
    	BEQ	R3, out
    	MOVV	R0, (R1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/sys_darwin.go

    	ifmam2 := &wireFormat{extOff: sizeofIfmaMsghdr2Darwin15, bodyOff: sizeofIfmaMsghdr2Darwin15}
    	ifmam2.parse = ifmam2.parseInterfaceMulticastAddrMessage
    	// Darwin kernels require 32-bit aligned access to routing facilities.
    	return 4, map[int]*wireFormat{
    		syscall.RTM_ADD:       rtm,
    		syscall.RTM_DELETE:    rtm,
    		syscall.RTM_CHANGE:    rtm,
    		syscall.RTM_GET:       rtm,
    		syscall.RTM_LOSING:    rtm,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top