Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for alignof (0.82 sec)

  1. src/cmd/cgo/gcc.go

    			t.Go = c.float64
    		}
    		if t.Align = t.Size; t.Align >= c.ptrSize {
    			t.Align = c.ptrSize
    		}
    
    	case *dwarf.ComplexType:
    		switch t.Size {
    		default:
    			fatalf("%s: unexpected: %d-byte complex type - %s", lineno(pos), t.Size, dtype)
    		case 8:
    			t.Go = c.complex64
    		case 16:
    			t.Go = c.complex128
    		}
    		if t.Align = t.Size / 2; t.Align >= c.ptrSize {
    			t.Align = c.ptrSize
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. src/runtime/memclr_loong64.s

    TEXT runtime·memclrNoHeapPointers<ABIInternal>(SB),NOSPLIT,$0-16
    	ADDV	R4, R5, R6
    
    	// if less than 8 bytes, do one byte at a time
    	SGTU	$8, R5, R8
    	BNE	R8, out
    
    	// do one byte at a time until 8-aligned
    	AND	$7, R4, R8
    	BEQ	R8, words
    	MOVB	R0, (R4)
    	ADDV	$1, R4
    	JMP	-4(PC)
    
    words:
    	// do 8 bytes at a time if there is room
    	ADDV	$-7, R6, R5
    
    	PCALIGN	$16
    	SGTU	R5, R4, R8
    	BEQ	R8, out
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 766 bytes
    - Viewed (0)
  3. src/internal/trace/gc_test.go

    		for i, u := range util {
    			if u.Time+int64(window) > util[len(util)-1].Time {
    				break
    			}
    			mmu = math.Min(mmu, muInWindow(util[i:], u.Time+int64(window)))
    		}
    	}
    
    	// Consider all left-aligned windows.
    	update()
    	// Reverse the trace. Slightly subtle because each MutatorUtil
    	// is a *change*.
    	rutil := make([]trace.MutatorUtil, len(util))
    	if util[len(util)-1].Util != 0 {
    		panic("irreversible trace")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/css/base.css

    }
    
    /* Override javadoc styles */
    .site-header div {
        font-family: 'Lato', Arial, sans-serif;
    }
    
    .site-header__navigation-header a {
        align-self: center;
        border-bottom: 0 none;
        height: 36px;
    }
    
    .site-header .site-header-version {
        align-self: center;
        color: #1da2bd;
        font-size: 20px;
        padding-left: 1px;
        margin-top: 22px;
    }
    
    .site-header__navigation {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. src/hash/crc32/crc32_test.go

    			name := fmt.Sprint(size)
    			if size >= 1024 {
    				name = fmt.Sprintf("%dkB", size/1024)
    			}
    			b.Run("size="+name, func(b *testing.B) {
    				for align := 0; align <= 1; align++ {
    					b.Run(fmt.Sprintf("align=%d", align), func(b *testing.B) {
    						benchmark(b, h, int64(size), int64(align))
    					})
    				}
    			})
    		}
    	}
    }
    
    func benchmark(b *testing.B, h hash.Hash32, n, alignment int64) {
    	b.SetBytes(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. src/internal/bytealg/compare_loong64.s

    entry:
    	ADDV	R4, R14, R12	// R6 start of a, R14 end of a
    	BEQ	R4, R12, samebytes // length is 0
    
    	SRLV	$4, R14		// R14 is number of chunks
    	BEQ	R0, R14, byte_loop
    
    	// make sure both a and b are aligned.
    	OR	R4, R6, R15
    	AND	$7, R15
    	BNE	R0, R15, byte_loop
    
    	PCALIGN	$16
    chunk16_loop:
    	BEQ	R0, R14, byte_loop
    	MOVV	(R4), R8
    	MOVV	(R6), R9
    	BNE	R8, R9, byte_loop
    	MOVV	8(R4), R16
    	MOVV	8(R6), R17
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    			if span.spanclass.sizeclass() != 0 {
    				throw("GCProg for type that isn't large")
    			}
    			spaceNeeded := alignUp(unsafe.Sizeof(_type{}), goarch.PtrSize)
    			heapBitsOff := spaceNeeded
    			spaceNeeded += alignUp(typ.PtrBytes/goarch.PtrSize/8, goarch.PtrSize)
    			npages := alignUp(spaceNeeded, pageSize) / pageSize
    			var progSpan *mspan
    			systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  8. README.md

    <p align="center">
      <a href="https://fastapi.tiangolo.com"><img src="https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" alt="FastAPI"></a>
    </p>
    <p align="center">
        FastAPI framework, high performance, easy to learn, fast to code, ready for production
    </p>
    <p align="center">
    <a href="https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster" target="_blank">
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. src/runtime/mfinal.go

    okarg:
    	// compute size needed for return parameters
    	nret := uintptr(0)
    	for _, t := range ft.OutSlice() {
    		nret = alignUp(nret, uintptr(t.Align_)) + t.Size_
    	}
    	nret = alignUp(nret, goarch.PtrSize)
    
    	// make sure we have a finalizer goroutine
    	createfing()
    
    	systemstack(func() {
    		if !addfinalizer(e.data, (*funcval)(f.data), nret, fint, ot) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_mips64x.s

    TEXT ·Or8(SB), NOSPLIT, $0-9
    	MOVV	ptr+0(FP), R1
    	MOVBU	val+8(FP), R2
    	// Align ptr down to 4 bytes so we can use 32-bit load/store.
    	MOVV	$~3, R3
    	AND	R1, R3
    	// Compute val shift.
    #ifdef GOARCH_mips64
    	// Big endian.  ptr = ptr ^ 3
    	XOR	$3, R1
    #endif
    	// R4 = ((ptr & 3) * 8)
    	AND	$3, R1, R4
    	SLLV	$3, R4
    	// Shift val for aligned ptr. R2 = val << R4
    	SLLV	R4, R2
    
    	SYNC
    	LL	(R3), R4
    	OR	R2, R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 21:29:34 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top